From d85019f4b182461dc09d8b2950aa43262219a021 Mon Sep 17 00:00:00 2001 From: Tannin Date: Mon, 31 Aug 2015 21:25:43 +0200 Subject: auto-discovered executables aren't turned into custom ones if the user presses "Modify" without doing any changes --- src/editexecutablesdialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/editexecutablesdialog.cpp') 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(); -- cgit v1.3.1