Show or hide primary action layout section the first time, in case filenames are passed in from the cli

This commit is contained in:
Micah Lee 2018-02-05 09:26:05 -08:00
parent a24b1f7e00
commit 10f7a91c15

View File

@ -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()