Use error dialog instead of individual erro dialogs for when removing palettes

This commit is contained in:
OverloadedOrama 2020-05-20 01:31:38 +03:00
parent 067f5a6109
commit 2ebdf51047
6 changed files with 10 additions and 32 deletions

View file

@ -1,5 +0,0 @@
[gd_scene format=2]
[node name="CantRemoveMorePalettesDialog" type="AcceptDialog"]
window_title = "Alarm!"
dialog_text = "You can't remove more palettes!"

View file

@ -1,5 +0,0 @@
[gd_scene format=2]
[node name="PaletteDoesntExistDialog" type="AcceptDialog"]
window_title = "Alarm!"
dialog_text = "Cannot remove the palette, because it doesn't exist!"

View file

@ -1,7 +0,0 @@
[gd_scene format=2]
[node name="PaletteRemoveErrorDialog" type="AcceptDialog"]
margin_right = 90.0
margin_bottom = 58.0
window_title = "Alarm!"
dialog_text = "An error occured while removing the palette! Error code: %s"