bug1743fix.diff
python/plugins/mapserver_export/mapserverexport.py (working copy) | ||
---|---|---|
59 | 59 |
self.action = QAction(self.getThemeIcon("mapserver_export.png"), \ |
60 | 60 |
"MapServer Export", self.iface.mainWindow()) |
61 | 61 |
# connect the action to the run method |
62 |
QObject.connect(self.action, SIGNAL("activated()"), self.run)
|
|
62 |
QObject.connect(self.action, SIGNAL("triggered()"), self.run)
|
|
63 | 63 |
QObject.connect(self.iface, SIGNAL("currentThemeChanged ( QString )"), self.setCurrentTheme) |
64 | 64 |
# Add toolbar button and menu item |
65 | 65 |
self.iface.addToolBarIcon(self.action) |