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 cf1ff97ce9
commit 83c9cd4e00
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

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