@@ -174,18 +174,18 @@ def initGui( self ):
174
174
QObject .connect ( self .sieve , SIGNAL ( "triggered()" ), self .doSieve )
175
175
self .analysisMenu .addAction ( self .sieve )
176
176
177
- if self .GdalVersion >= "1.6" :
178
- self .proximity = QAction ( QIcon (":/icons/proximity.png" ), QCoreApplication .translate ( "GdalTools" , "Proximity (Raster distance)" ), self .iface .mainWindow () )
179
- self .proximity .setStatusTip ( QCoreApplication .translate ( "GdalTools" , "Produces a raster proximity map" ) )
180
- QObject .connect ( self .proximity , SIGNAL ( "triggered()" ), self .doProximity )
181
- self .analysisMenu .addAction ( self .proximity )
182
-
183
177
if self .GdalVersion >= "1.5" :
184
178
self .nearBlack = QAction ( QIcon (":/icons/nearblack.png" ), QCoreApplication .translate ( "GdalTools" , "Near black" ), self .iface .mainWindow () )
185
179
self .nearBlack .setStatusTip ( QCoreApplication .translate ( "GdalTools" , "Convert nearly black/white borders to exact value" ) )
186
180
QObject .connect ( self .nearBlack , SIGNAL ( "triggered()" ), self .doNearBlack )
187
181
self .analysisMenu .addAction ( self .nearBlack )
188
182
183
+ if self .GdalVersion >= "1.6" :
184
+ self .proximity = QAction ( QIcon (":/icons/proximity.png" ), QCoreApplication .translate ( "GdalTools" , "Proximity (Raster distance)" ), self .iface .mainWindow () )
185
+ self .proximity .setStatusTip ( QCoreApplication .translate ( "GdalTools" , "Produces a raster proximity map" ) )
186
+ QObject .connect ( self .proximity , SIGNAL ( "triggered()" ), self .doProximity )
187
+ self .analysisMenu .addAction ( self .proximity )
188
+
189
189
if self .GdalVersion >= "1.5" :
190
190
self .grid = QAction ( QIcon (":/icons/grid.png" ), QCoreApplication .translate ( "GdalTools" , "Grid (Interpolation)" ), self .iface .mainWindow () )
191
191
self .grid .setStatusTip ( QCoreApplication .translate ( "GdalTools" , "Create raster from the scattered data" ) )
0 commit comments