Enabled the label tool again.
This commit is contained in:
parent
e12af3a14f
commit
403fcc2fbd
1 changed files with 2 additions and 1 deletions
|
@ -368,9 +368,10 @@ bool editor_controller::can_execute_command(const hotkey::hotkey_command& cmd, i
|
|||
return true;
|
||||
// WWL dependent tools which don't rely on defined sides.
|
||||
case HOTKEY_EDITOR_SCENARIO_EDIT:
|
||||
case HOTKEY_EDITOR_TOOL_LABEL:
|
||||
case HOTKEY_EDITOR_TOOL_ITEM:
|
||||
return false; // !context_manager_->get_map_context().is_pure_map(); disabled for 1.12
|
||||
case HOTKEY_EDITOR_TOOL_LABEL:
|
||||
return !context_manager_->get_map_context().is_pure_map();
|
||||
case HOTKEY_EDITOR_TOOL_UNIT:
|
||||
case HOTKEY_EDITOR_TOOL_VILLAGE:
|
||||
return !context_manager_->get_map_context().get_teams().empty();
|
||||
|
|
Loading…
Add table
Reference in a new issue