Merge branch 'DockArea_apoptose_fix' of https://github.com/lidstrom83/pyqtgraph into lidstrom83-DockArea_apoptose_fix
This commit is contained in:
commit
dbacf5e0ed
|
@ -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