comparison clients/editor/scripts/gui/dockarea.py @ 316:6add14ebe9f5

Disabled recursing for some adaptLayout calls. This will make the editor more responsive
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 15 Aug 2009 00:42:23 +0000
parents 51cc05d862f2
children 8b125ec749d7
comparison
equal deleted inserted replaced
315:21999e058c7b 316:6add14ebe9f5
96 return 96 return
97 97
98 self.undockChild(child) 98 self.undockChild(child)
99 99
100 tab[2].capture(undock, "mouseClicked") 100 tab[2].capture(undock, "mouseClicked")
101 self.adaptLayout()
101 102
102 def undockChild(self, child, childIsCaller=False): 103 def undockChild(self, child, childIsCaller=False):
103 tabwidget = None 104 tabwidget = None
104 for panel in self.panels: 105 for panel in self.panels:
105 if panel[0] == child: 106 if panel[0] == child: