diff options
author | Melody Horn <melody@boringcactus.com> | 2021-01-29 01:08:07 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-01-29 01:08:07 -0700 |
commit | 21e1d38c357eb8ce6398e94d1d2f43451c7848f2 (patch) | |
tree | 0215eca9b6ab6fcb3b63f7d223ae4c7b63b3fb04 | |
parent | e90e0008de62dbe51bf2c8ef17587e368967d280 (diff) | |
download | vidslice-21e1d38c357eb8ce6398e94d1d2f43451c7848f2.tar.gz vidslice-21e1d38c357eb8ce6398e94d1d2f43451c7848f2.zip |
fix some papercuts on output UI
-rw-r--r-- | output.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -131,6 +131,7 @@ class OutputPanel(ttk.LabelFrame): self.progress['value'] = float(progress_data.group(1)) else: self.logs.set(self.logs.get() + out_data) + self.progress['value'] = self.progress['maximum'] self.enable(True) callback(proc.returncode) @@ -153,8 +154,9 @@ class OutputPanel(ttk.LabelFrame): self.handle_run_pressed(*args, callback=quit) def set_input_path(self, path, data): - self.enable(data is not None) if data is None: + self.enable(False) self.input_path = None else: + self.handle_file_changed() self.input_path = path |