We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 75fa352 commit ca1301bCopy full SHA for ca1301b
src/plugins/georeferencer/qgsgeorefplugin.cpp
@@ -125,6 +125,7 @@ void QgsGeorefPlugin::unload()
125
mQGisIface->removeRasterToolBarIcon( mActionRunGeoref );
126
127
delete mActionRunGeoref;
128
+ mActionRunGeoref = 0;
129
130
delete mPluginGui;
131
mPluginGui = NULL;
@@ -133,7 +134,8 @@ void QgsGeorefPlugin::unload()
133
134
//! Set icons to the current theme
135
void QgsGeorefPlugin::setCurrentTheme( QString )
136
{
- mActionRunGeoref->setIcon( getThemeIcon( "/mGeorefRun.png" ) );
137
+ if ( mActionRunGeoref )
138
+ mActionRunGeoref->setIcon( getThemeIcon( "/mGeorefRun.png" ) );
139
}
140
141
QIcon QgsGeorefPlugin::getThemeIcon( const QString &theName )
0 commit comments