apply patch #1743 from jctull

git-svn-id: http://svn.osgeo.org/qgis/trunk@13278 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
borysiasty 2010-04-07 18:09:38 +00:00
parent 7ed94ea579
commit d037836c4e

View File

@ -59,7 +59,7 @@ class MapServerExport:
self.action = QAction(self.getThemeIcon("mapserver_export.png"), \
"MapServer Export", self.iface.mainWindow())
# connect the action to the run method
QObject.connect(self.action, SIGNAL("activated()"), self.run)
QObject.connect(self.action, SIGNAL("triggered()"), self.run)
QObject.connect(self.iface, SIGNAL("currentThemeChanged ( QString )"), self.setCurrentTheme)
# Add toolbar button and menu item
self.iface.addToolBarIcon(self.action)