DockArea apoptose fix.
Fixes problem where docks can't be added to a non-temporary area once all of its docks have been closed.
This commit is contained in:
parent
41fa2f64d3
commit
853256bd41
@ -296,8 +296,9 @@ class DockArea(Container, QtGui.QWidget, DockDrop):
|
||||
|
||||
def apoptose(self):
|
||||
#print "apoptose area:", self.temporary, self.topContainer, self.topContainer.count()
|
||||
if self.temporary and self.topContainer.count() == 0:
|
||||
if self.topContainer.count() == 0:
|
||||
self.topContainer = None
|
||||
if self.temporary:
|
||||
self.home.removeTempArea(self)
|
||||
#self.close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user