Merge pull request #96520 from Giganzo/fix-make-floating-tooltip
Mention screen selector in Make Floating button tooltip
This commit is contained in:
commit
514c564a8c
2 changed files with 2 additions and 2 deletions
|
@ -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));
|
make_floating->connect("request_open_in_screen", callable_mp(window_wrapper, &WindowWrapper::enable_window_on_screen).bind(true));
|
||||||
if (!make_floating->is_disabled()) {
|
if (!make_floating->is_disabled()) {
|
||||||
// Override default ScreenSelect tooltip if multi-window support is available.
|
// 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);
|
menu_hb->add_child(make_floating);
|
||||||
|
|
|
@ -802,7 +802,7 @@ ShaderEditorPlugin::ShaderEditorPlugin() {
|
||||||
make_floating->connect("request_open_in_screen", callable_mp(window_wrapper, &WindowWrapper::enable_window_on_screen).bind(true));
|
make_floating->connect("request_open_in_screen", callable_mp(window_wrapper, &WindowWrapper::enable_window_on_screen).bind(true));
|
||||||
if (!make_floating->is_disabled()) {
|
if (!make_floating->is_disabled()) {
|
||||||
// Override default ScreenSelect tooltip if multi-window support is available.
|
// 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);
|
menu_hb->add_child(make_floating);
|
||||||
|
|
Loading…
Reference in a new issue