We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e72088c + 272b6e1 commit 885c8b4Copy full SHA for 885c8b4
python/plugins/fTools/tools/doSimplify.py
@@ -88,6 +88,9 @@ def selectOutputFile( self ):
88
self.edOutputFile.setText( self.shapeFileName )
89
90
def accept( self ):
91
+ if not self.cmbInputLayer.currentText():
92
+ QMessageBox.warning( self, self.tr( "Warning" ), self.tr( "Please specify an input layer" ) )
93
+ return
94
vLayer = ftools_utils.getVectorLayerByName( self.cmbInputLayer.currentText() )
95
96
self.btnOk.setEnabled( False )
0 commit comments