EvtMainFrame: fix an issue with the delete staged button.

This commit is contained in:
Guillaume Jacquemin 2020-01-16 09:36:46 +01:00
parent d2db17a18f
commit 78653e317f

View file

@ -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) {