From 0720fe3a68fb3ccf296bba7ffb015e6c9e05ac04 Mon Sep 17 00:00:00 2001 From: heliguy Date: Thu, 31 Aug 2023 22:18:17 -0400 Subject: [PATCH] Fix issues where the batch actions stayed enabled. --- src/window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/window.py b/src/window.py index e51bcd3..54c4b70 100644 --- a/src/window.py +++ b/src/window.py @@ -462,6 +462,7 @@ class FlattoolGuiWindow(Adw.ApplicationWindow): def generate_list_of_flatpaks(self): self.set_title(self.main_window_title) + self.batch_actions_enable(False) self.selected_host_flatpak_indexes = [] def get_host_flatpaks(): output = subprocess.run(['flatpak-spawn', '--host', 'flatpak', 'list', '--columns=all'], capture_output=True, text=True).stdout @@ -551,6 +552,7 @@ class FlattoolGuiWindow(Adw.ApplicationWindow): else: self.in_batch_mode = False self.refresh_list_of_flatpaks(self, False) + self.batch_actions_enable(False) def batch_actions_enable(self, should_enable): self.batch_copy_button.set_sensitive(should_enable)