From 73eea93abb1fdbd1b2fef494e5bd10a5c8889b84 Mon Sep 17 00:00:00 2001 From: Tannin Date: Fri, 27 Mar 2015 16:31:26 +0100 Subject: bugfix: "edit executables" dialog didn't actually save a modified executable when confirming the save-on-close dialog --- src/editexecutablesdialog.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/editexecutablesdialog.cpp b/src/editexecutablesdialog.cpp index da207f93..974020d0 100644 --- a/src/editexecutablesdialog.cpp +++ b/src/editexecutablesdialog.cpp @@ -241,6 +241,9 @@ void EditExecutablesDialog::on_closeButton_clicked() return; } else if (res == QMessageBox::Yes) { saveExecutable(); + // the executable list returned to callers is generated from the user data in the widgets, + // NOT the list we just saved + refreshExecutablesWidget(); } } this->accept(); -- cgit v1.3.1