From 78653e317fe3154368311d6c6f8bc1bba0679388 Mon Sep 17 00:00:00 2001 From: William JCM Date: Thu, 16 Jan 2020 09:36:46 +0100 Subject: [PATCH] EvtMainFrame: fix an issue with the delete staged button. --- GUI/EvtMainFrame.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GUI/EvtMainFrame.cpp b/GUI/EvtMainFrame.cpp index cbf17b7..ac4207f 100644 --- a/GUI/EvtMainFrame.cpp +++ b/GUI/EvtMainFrame.cpp @@ -399,6 +399,7 @@ void EvtMainFrame::updateCommandsState() { _exportButton->Enable(selection != -1); _moveButton->Enable(selection != -1 && game_state != GameState::Running && hangar_state != HangarState::Empty && hangar_state != HangarState::Invalid); _deleteButton->Enable(selection != -1 && game_state != GameState::Running && hangar_state != HangarState::Empty); + _deleteStagedButton->Enable(staged_selection != -1); } void EvtMainFrame::refreshHangar(int slot) {