Initialize drag variable in Dock.py
This commit is contained in:
parent
de022be634
commit
1e0034904e
@ -244,6 +244,7 @@ class DockLabel(VerticalLabel):
|
|||||||
sigClicked = QtCore.Signal(object, object)
|
sigClicked = QtCore.Signal(object, object)
|
||||||
|
|
||||||
def __init__(self, text, dock):
|
def __init__(self, text, dock):
|
||||||
|
self.startedDrag = False
|
||||||
self.dim = False
|
self.dim = False
|
||||||
self.fixedWidth = False
|
self.fixedWidth = False
|
||||||
VerticalLabel.__init__(self, text, orientation='horizontal', forceWidth=False)
|
VerticalLabel.__init__(self, text, orientation='horizontal', forceWidth=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user