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 f1a36f9 commit e47ba53Copy full SHA for e47ba53
src/plugins/launcher/qgslauncherplugingui.cpp
@@ -82,7 +82,10 @@ void QgsLauncherPluginGui::runProgram()
82
83
84
// add the program to the combo list
85
- cmbCommands->insertItem(cmbCommands->currentText(), 0);
+ if(cmbCommands->findText(cmbCommands->currentText()) == -1)
86
+ {
87
+ cmbCommands->insertItem(cmbCommands->currentText(), 0);
88
+ }
89
// If this is first time around, remove the default tab
90
if(firstRun)
91
{
0 commit comments