Show status table only if we have teams defined in the editor.

This commit is contained in:
fendrin 2013-05-15 06:30:08 +02:00
parent 01167bcc07
commit bb23a861b4

View file

@ -281,6 +281,8 @@ bool editor_controller::can_execute_command(hotkey::HOTKEY_COMMAND command, int
return context_manager_->get_map_context().get_units().size() != 0;
case HOTKEY_STATUS_TABLE:
return !context_manager_->get_map_context().get_teams().empty();
case HOTKEY_EDITOR_SWITCH_TIME:
return true;