~boringcactus/vidslice

21e1d38c357eb8ce6398e94d1d2f43451c7848f2 — Melody Horn 1 year, 8 months ago e90e000
fix some papercuts on output UI
1 files changed, 3 insertions(+), 1 deletions(-)

M output.py
M output.py => output.py +3 -1
@@ 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