From 83c9cd4e00009a2bb07c03755cf4ed14d2df5519 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Mon, 5 Feb 2018 09:26:05 -0800 Subject: [PATCH] Show or hide primary action layout section the first time, in case filenames are passed in from the cli --- onionshare_gui/onionshare_gui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/onionshare_gui/onionshare_gui.py b/onionshare_gui/onionshare_gui.py index 47b3761a..ffe9f3cf 100644 --- a/onionshare_gui/onionshare_gui.py +++ b/onionshare_gui/onionshare_gui.py @@ -134,6 +134,7 @@ class OnionShareGui(QtWidgets.QMainWindow): self.primary_action = QtWidgets.QWidget() self.primary_action.setLayout(primary_action_layout) self.primary_action.hide() + self.update_primary_action() # Main layout self.layout = QtWidgets.QVBoxLayout()