Skip to content

Commit

Permalink
Fixes SkyTemple#126: Clear Tilequant dialog file choosers when re-opened
Browse files Browse the repository at this point in the history
  • Loading branch information
theCapypara committed Jan 2, 2021
1 parent b1ebf3e commit 30a8c5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skytemple/controller/tilequant.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ def run(self, num_pals=16, num_colors=16):
Shows the tilequant dialog. Doesn't return anything.
"""
self.builder.get_object('tq_number_palettes').set_text(str(num_pals))
self.builder.get_object('tq_input_file').unselect_all()
self.builder.get_object('tq_second_file').unselect_all()
self.window.run()
self.window.hide()

Expand Down

0 comments on commit 30a8c5d

Please sign in to comment.