aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r--gui/launcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 2ed028f26a..761cf0082f 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -716,7 +716,7 @@ void SaveLoadChooser::updateSelection(bool redraw) {
// Disable these buttons if nothing is selected, or if an empty
// list item is selected.
- _chooseButton->setEnabled((selItem >= 0 && (!_list->getSelectedString().empty())) || (_list->isEditable() && !isWriteProtected));
+ _chooseButton->setEnabled(selItem >= 0 && ((!_list->getSelectedString().empty())) || (_list->isEditable() && !isWriteProtected));
// Delete will always be disabled if the engine doesn't support it.
_deleteButton->setEnabled(isDeletable && (selItem >= 0) && (!_list->getSelectedString().empty()));