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.
1 parent 0878fca commit 272b6e1Copy full SHA for 272b6e1
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