palettes_path is always the root directory plus the "Palettes" subdirectory

Also updated Agnis Aldiņš (NeZvers)'s name in the translators
This commit is contained in:
OverloadedOrama 2020-02-12 15:54:24 +02:00
parent f3759d677e
commit 3eaeef0f58
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ func _on_AboutDialog_about_to_show() -> void:
translators.create_item(translators_root).set_text(0, " Marco Galli (Gaarco) - " + tr("Italian"))
translators.create_item(translators_root).set_text(0, " azagaya - " + tr("Spanish"))
translators.create_item(translators_root).set_text(0, " Lilly And (KatieAnd) - " + tr("Spanish"))
translators.create_item(translators_root).set_text(0, " nezvers - " + tr("Latvian"))
translators.create_item(translators_root).set_text(0, " Agnis Aldiņš (NeZvers) - " + tr("Latvian"))
func _on_AboutDialog_popup_hide() -> void:
groups.clear()

View file

@ -150,7 +150,7 @@ func on_color_select(index : int) -> void:
Global.update_right_custom_brush()
func _load_palettes() -> void:
palettes_path = Global.root_directory.plus_file(palettes_path)
palettes_path = Global.root_directory.plus_file("Palettes")
var dir := Directory.new()
dir.open(Global.root_directory)
if not dir.dir_exists(palettes_path):