summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-03 16:14:08 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-03 16:14:08 +0200
commit514c564a8c855d798ec6b5a52860e5bca8d57bc9 (patch)
treee6ad02fc4a8d9708b6dfd6caebf9bf7ca749777b
parenta985d5960358466050612e95918bb5ba59fe6f43 (diff)
parentedba5edcb87ab5ee9bf9dd6dc4136c66bfc7fd3f (diff)
downloadredot-engine-514c564a8c855d798ec6b5a52860e5bca8d57bc9.tar.gz
Merge pull request #96520 from Giganzo/fix-make-floating-tooltip
Mention screen selector in Make Floating button tooltip
-rw-r--r--editor/plugins/script_editor_plugin.cpp2
-rw-r--r--editor/plugins/shader_editor_plugin.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index 4c7385bada..93c8ae5438 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -4309,7 +4309,7 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) {
make_floating->connect("request_open_in_screen", callable_mp(window_wrapper, &WindowWrapper::enable_window_on_screen).bind(true));
if (!make_floating->is_disabled()) {
// Override default ScreenSelect tooltip if multi-window support is available.
- make_floating->set_tooltip_text(TTR("Make the script editor floating."));
+ make_floating->set_tooltip_text(TTR("Make the script editor floating.\nRight-click to open the screen selector."));
}
menu_hb->add_child(make_floating);
diff --git a/editor/plugins/shader_editor_plugin.cpp b/editor/plugins/shader_editor_plugin.cpp
index ea049756b7..597ef49004 100644
--- a/editor/plugins/shader_editor_plugin.cpp
+++ b/editor/plugins/shader_editor_plugin.cpp
@@ -802,7 +802,7 @@ ShaderEditorPlugin::ShaderEditorPlugin() {
make_floating->connect("request_open_in_screen", callable_mp(window_wrapper, &WindowWrapper::enable_window_on_screen).bind(true));
if (!make_floating->is_disabled()) {
// Override default ScreenSelect tooltip if multi-window support is available.
- make_floating->set_tooltip_text(TTR("Make the shader editor floating."));
+ make_floating->set_tooltip_text(TTR("Make the shader editor floating.\nRight-click to open the screen selector."));
}
menu_hb->add_child(make_floating);