I have no idea what causes this, but...
This commit is contained in:
Kovid Goyal 2017-05-26 20:25:12 +05:30
parent 35dd54848b
commit 6b010bc61c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -139,7 +139,8 @@ class Category(QWidget): # {{{
self.actions.append(ac)
w = self.bar.widgetForAction(ac)
w.setCursor(Qt.PointingHandCursor)
w.setAutoRaise(True)
if hasattr(w, 'setAutoRaise'):
w.setAutoRaise(True)
w.setMinimumWidth(100)
def triggered(self, plugin, *args):