From edba5edcb87ab5ee9bf9dd6dc4136c66bfc7fd3f Mon Sep 17 00:00:00 2001 From: Giganzo <158825920+Giganzo@users.noreply.github.com> Date: Mon, 2 Sep 2024 00:00:14 +0200 Subject: [PATCH] Fix Make floating tooltip mention screen selector --- editor/plugins/script_editor_plugin.cpp | 2 +- editor/plugins/shader_editor_plugin.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index d7de5a72230..0d02964abf5 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -4282,7 +4282,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 ea049756b7f..597ef490047 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);