From 30a8c5d61216873d056192b5c276039199452fdb Mon Sep 17 00:00:00 2001 From: Parakoopa Date: Sat, 2 Jan 2021 23:36:38 +0100 Subject: [PATCH] Fixes #126: Clear Tilequant dialog file choosers when re-opened --- skytemple/controller/tilequant.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skytemple/controller/tilequant.py b/skytemple/controller/tilequant.py index 17cad72f4..201d85929 100644 --- a/skytemple/controller/tilequant.py +++ b/skytemple/controller/tilequant.py @@ -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()