Remove adjustSize that was causing issues

This commit is contained in:
Micah Lee 2018-09-19 20:17:23 -07:00
parent beeebce631
commit 5a96bcc77b
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -205,9 +205,6 @@ class OnionShareGui(QtWidgets.QMainWindow):
self.update_server_status_indicator()
# Wait 1ms for the event loop to finish, then adjust size
QtCore.QTimer.singleShot(1, self.adjustSize)
def share_mode_clicked(self):
if self.mode != self.MODE_SHARE:
self.common.log('OnionShareGui', 'share_mode_clicked')