Load button on debug only. Bug 4704

svn: r16726
This commit is contained in:
Gary Burton 2011-02-27 21:31:54 +00:00
parent 0152ec28b3
commit 2933de5d2f

View File

@ -513,6 +513,7 @@ class PluginStatus(ManagedWindow.ManagedWindow):
self.__populate_reg_list()
def cursor_changed(self, obj):
if __debug__:
selection = obj.get_selection()
model, node = selection.get_selected()
if node: