EvtMainFrame: add _exportButton to updateCommandsState().
This commit is contained in:
parent
8fc5f1ecc5
commit
fd0879c9ad
1 changed files with 1 additions and 0 deletions
|
@ -335,6 +335,7 @@ void EvtMainFrame::updateCommandsState() {
|
|||
HangarState hangar_state = _manager.hangarState(selection);
|
||||
|
||||
_importButton->Enable(selection != -1 && game_state != GameState::Running);
|
||||
_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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue