Merge pull request #96520 from Giganzo/fix-make-floating-tooltip

Mention screen selector in Make Floating button tooltip
This commit is contained in:
Rémi Verschelde 2024-09-03 16:14:08 +02:00
commit 514c564a8c
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);