diff --git a/Translations/Translations.pot b/Translations/Translations.pot index 1deb53f60..5fe09a321 100644 --- a/Translations/Translations.pot +++ b/Translations/Translations.pot @@ -1625,9 +1625,6 @@ msgstr "" msgid "Create a new palette" msgstr "" -msgid "Create New Palette" -msgstr "" - msgid "Comment:" msgstr "" diff --git a/src/Palette/CreatePaletteDialog.tscn b/src/Palette/CreatePaletteDialog.tscn index 486885976..a46fdcb80 100644 --- a/src/Palette/CreatePaletteDialog.tscn +++ b/src/Palette/CreatePaletteDialog.tscn @@ -6,7 +6,7 @@ margin_top = 1.0 margin_right = 300.0 margin_bottom = 438.0 -window_title = "Create New Palette" +window_title = "Create a new palette" resizable = true script = ExtResource( 1 ) __meta__ = { @@ -177,6 +177,7 @@ text = "Palette name is required!" align = 1 valign = 2 autowrap = true + [connection signal="confirmed" from="." to="." method="_on_CreatePaletteDialog_confirmed"] [connection signal="popup_hide" from="." to="." method="_on_CreatePaletteDialog_popup_hide"] [connection signal="item_selected" from="VBoxContainer/PaletteMetadata/Preset" to="." method="_on_Preset_item_selected"] diff --git a/src/Palette/PalettePanel.tscn b/src/Palette/PalettePanel.tscn index 26e0e9a11..2230dcfec 100644 --- a/src/Palette/PalettePanel.tscn +++ b/src/Palette/PalettePanel.tscn @@ -211,6 +211,7 @@ margin_left = 7.0 margin_top = 7.0 margin_right = 317.0 margin_bottom = 312.0 + [connection signal="item_selected" from="PaletteVBoxContainer/PaletteButtons/PaletteSelect" to="." method="_on_PaletteSelect_item_selected"] [connection signal="pressed" from="PaletteVBoxContainer/PaletteButtons/EditPalette" to="." method="_on_EditPalette_pressed"] [connection signal="pressed" from="PaletteVBoxContainer/PaletteButtons/AddPalette" to="." method="_on_AddPalette_pressed"]