diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2017-07-24 13:07:53 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2017-07-24 13:07:53 +0700 |
commit | 24329155ebd1251711749a269c4f4c606bfda1c7 (patch) | |
tree | d6e485c2e28dd7da1a60700434c4c31bae51e2ed /editor/editor_node.cpp | |
parent | 85aa0adeef6ab89e98105fdaa49f441e5763d970 (diff) |
EditorNode: fix missing distraction-free tooltip
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index b9a1ae2946..0c47daf5e6 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -5380,6 +5380,7 @@ EditorNode::EditorNode() { distraction_free = memnew(ToolButton); tabbar_container->add_child(distraction_free); distraction_free->set_shortcut(ED_SHORTCUT("editor/distraction_free_mode", TTR("Distraction Free Mode"), KEY_MASK_CMD | KEY_MASK_SHIFT | KEY_F11)); + distraction_free->set_tooltip(TTR("Toggle distraction-free mode.")); distraction_free->connect("pressed", this, "_toggle_distraction_free_mode"); distraction_free->set_icon(gui_base->get_icon("DistractionFree", "EditorIcons")); distraction_free->set_toggle_mode(true); |