Fix Make floating tooltip mention screen selector
This commit is contained in:
parent
61598c5c88
commit
edba5edcb8
|
@ -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));
|
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 New Issue