Fix sig_plugin_execute when there is no tabs for issue1956

This commit is contained in:
Cédric Krier committed 2011-04-16 19:38:29 +02:00
1 parent 2c175cb6ae
commit ec5d000a76
1 file changed
+2
+2
View File
@@ -1351,6 +1351,8 @@ class Main(object):
def sig_plugin_execute(self, widget):
page = self.notebook.get_current_page()
if page == -1:
return
datas = {
'model': self.pages[page].model,
'ids': self.pages[page].ids_get(),