Initialize drag variable in Dock.py

This commit is contained in:
Luke Campagnola 2014-05-05 11:16:00 -04:00
parent de022be634
commit 1e0034904e
1 changed files with 1 additions and 0 deletions

View File

@ -244,6 +244,7 @@ class DockLabel(VerticalLabel):
sigClicked = QtCore.Signal(object, object)
def __init__(self, text, dock):
self.startedDrag = False
self.dim = False
self.fixedWidth = False
VerticalLabel.__init__(self, text, orientation='horizontal', forceWidth=False)