EvtMainFrame: fix an issue with the delete staged button.
This commit is contained in:
parent
d2db17a18f
commit
78653e317f
1 changed files with 1 additions and 0 deletions
|
@ -399,6 +399,7 @@ void EvtMainFrame::updateCommandsState() {
|
||||||
_exportButton->Enable(selection != -1);
|
_exportButton->Enable(selection != -1);
|
||||||
_moveButton->Enable(selection != -1 && game_state != GameState::Running && hangar_state != HangarState::Empty && hangar_state != HangarState::Invalid);
|
_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);
|
_deleteButton->Enable(selection != -1 && game_state != GameState::Running && hangar_state != HangarState::Empty);
|
||||||
|
_deleteStagedButton->Enable(staged_selection != -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EvtMainFrame::refreshHangar(int slot) {
|
void EvtMainFrame::refreshHangar(int slot) {
|
||||||
|
|
Loading…
Reference in a new issue