Skip to content

Commit

Permalink
hide widgets: select docs -> settings -> conversion
Browse files Browse the repository at this point in the history
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 so
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.
  • Loading branch information
deeplow committed Oct 18, 2022
1 parent 5cc40c8 commit 4740be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dangerzone/gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ def __init__(self, dangerzone: DangerzoneGui) -> None:
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()
Expand Down

0 comments on commit 4740be7

Please sign in to comment.