From f791dc70aba76492d84e7b72ceb2a06882af15ca Mon Sep 17 00:00:00 2001 From: deeplow Date: Tue, 18 Oct 2022 11:33:56 +0100 Subject: [PATCH] Hide widgets: select docs -> settings -> conversion To help debugging and visualizing what was happening, we set all widgets to be visible at the same time. Now that is no longer needed, we can hide them. This keeps the original program flow: 1. select the documents 2. set the settings 3. see the conversion progress This diverges from the proposed design in issue #117 for simplification and consistency (with past program flow) purposes. --- dangerzone/gui/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dangerzone/gui/main_window.py b/dangerzone/gui/main_window.py index e8168e2..b8558ec 100644 --- a/dangerzone/gui/main_window.py +++ b/dangerzone/gui/main_window.py @@ -230,8 +230,8 @@ class ContentWidget(QtWidgets.QWidget): self.setLayout(layout) def document_selected(self) -> None: + self.doc_selection_widget.hide() self.settings_widget.show() - self.documents_list.show() def start_clicked(self) -> None: self.settings_widget.hide()