mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
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:
parent
7ed94ea579
commit
d037836c4e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user