mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-02 14:25:55 +01:00
Small tweak to the tooltip of the quick prop convert buttons.
This commit is contained in:
parent
a5219d45d5
commit
f30f2b37b8
@ -112,7 +112,7 @@ PropEditorPlugin::PropEditorPlugin(EditorNode *p_node) {
|
||||
b->connect("pressed", this, "_quick_convert_button_pressed");
|
||||
b->set_icon(editor->get_scene_tree_dock()->get_theme_icon("AssetLib", "EditorIcons"));
|
||||
//b->set_text("To Prop");
|
||||
b->set_tooltip(TTR("To Prop") + "\n" + TTR("Quick convert this scene to a Prop Resource."));
|
||||
b->set_tooltip(TTR("Quick convert this scene to a Prop Resource."));
|
||||
b->set_shortcut(ED_SHORTCUT("spatial_editor/quick_prop_convert", "Quick convert scene to PropData.", KEY_MASK_ALT + KEY_U));
|
||||
|
||||
add_control_to_container(EditorPlugin::CONTAINER_SPATIAL_EDITOR_MENU, bc);
|
||||
|
@ -110,7 +110,7 @@ Prop2DEditorPlugin::Prop2DEditorPlugin(EditorNode *p_node) {
|
||||
b->connect("pressed", this, "_quick_convert_button_pressed");
|
||||
b->set_icon(editor->get_scene_tree_dock()->get_theme_icon("AssetLib", "EditorIcons"));
|
||||
//b->set_text("To Prop2D");
|
||||
b->set_tooltip(TTR("To Prop") + "\n" + TTR("Quick convert this scene to a Prop 2D Resource."));
|
||||
b->set_tooltip(TTR("Quick convert this scene to a Prop 2D Resource."));
|
||||
b->set_shortcut(ED_SHORTCUT("spatial_editor/quick_prop_convert", "Quick convert scene to Prop2DData.", KEY_MASK_ALT + KEY_U));
|
||||
|
||||
add_control_to_container(EditorPlugin::CONTAINER_CANVAS_EDITOR_MENU, bc);
|
||||
|
Loading…
Reference in New Issue
Block a user