From 9fc509489f05dad59a1e1b84bb1ea49f091252ba Mon Sep 17 00:00:00 2001 From: Ian Burgwin Date: Mon, 8 Feb 2021 20:55:51 -0800 Subject: [PATCH] ci-gui: enable buttons if an error occurs before installation --- ci-gui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci-gui.py b/ci-gui.py index 6ff9fc4..1893366 100644 --- a/ci-gui.py +++ b/ci-gui.py @@ -467,6 +467,7 @@ class CustomInstallGUI(ttk.Frame): installer.log(line2) self.show_error('An error occurred when trying to read the files.') self.open_console() + self.enable_buttons() return if self.skip_contents_var.get() != 1: @@ -475,6 +476,7 @@ class CustomInstallGUI(ttk.Frame): self.show_error(f'Not enough free space.\n' f'Combined title install size: {total_size / (1024 * 1024):0.2f} MiB\n' f'Free space: {free_space / (1024 * 1024):0.2f} MiB') + self.enable_buttons() return def install():