Editor: Disable packed export if no game is loaded

directional-lights
Sven Eberhardt 2016-11-22 22:28:19 -05:00
parent 1cde52e060
commit 5ccc932386
1 changed files with 1 additions and 0 deletions

View File

@ -778,6 +778,7 @@ void C4ConsoleGUIState::UpdateActionStates()
ui.actionFileSaveGameAs->setEnabled(enabled);
ui.actionFileSaveScenario->setEnabled(enabled);
ui.actionFileSaveScenarioAs->setEnabled(enabled);
ui.actionFileExportScenarioPacked->setEnabled(enabled);
ui.actionViewportNew->setEnabled(enabled);
ui.actionPlayerJoin->setEnabled(enabled);
ui.menuNet->setEnabled(net_enabled);