summaryrefslogtreecommitdiff
path: root/src/editexecutablesdialog.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-08-31 21:25:43 +0200
committerTannin <devnull@localhost>2015-08-31 21:25:43 +0200
commitd85019f4b182461dc09d8b2950aa43262219a021 (patch)
treea5d5256e03c3c0c703cd3b9df19053ff35c7553b /src/editexecutablesdialog.cpp
parent05edcf8840b1930206100d5cb73f9f4b76e07995 (diff)
auto-discovered executables aren't turned into custom ones if the user presses
"Modify" without doing any changes
Diffstat (limited to 'src/editexecutablesdialog.cpp')
-rw-r--r--src/editexecutablesdialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/editexecutablesdialog.cpp b/src/editexecutablesdialog.cpp
index c4d99a39..1047c2dc 100644
--- a/src/editexecutablesdialog.cpp
+++ b/src/editexecutablesdialog.cpp
@@ -120,7 +120,9 @@ void EditExecutablesDialog::delayedRefresh()
void EditExecutablesDialog::on_addButton_clicked()
{
- saveExecutable();
+ if (executableChanged()) {
+ saveExecutable();
+ }
resetInput();
refreshExecutablesWidget();