Mercurial > fife-parpg
diff clients/editor/plugins/ObjectSelector.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 | 54de5aebf732 |
line wrap: on
line diff
--- a/clients/editor/plugins/ObjectSelector.py Fri Aug 14 22:15:47 2009 +0000 +++ b/clients/editor/plugins/ObjectSelector.py Sat Aug 15 00:42:23 2009 +0000 @@ -321,11 +321,11 @@ self.setPreview(obj) - self.gui.adaptLayout() + self.gui.adaptLayout(False) events.onObjectSelected.send(sender=self, object=obj) - self.objects.adaptLayout() - self.gui.adaptLayout() + self.objects.adaptLayout(False) + self.gui.adaptLayout(False) # Set preview image def setPreview(self, object): @@ -351,7 +351,7 @@ elif self.mode == 'preview': self.fillPreviewList() - self.gui.adaptLayout() + self.gui.adaptLayout(False) def _getImage(self, obj): """ Returns an image for the given object.