Pass self to help_clicked function in systray, so we can use self.common

This commit is contained in:
Miguel Jacq 2018-09-04 14:49:56 +10:00
parent 0e9e729b6f
commit 85fa44a01f
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -277,7 +277,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
self.settingsAction = menu.addAction(strings._('gui_settings_window_title', True))
self.settingsAction.triggered.connect(self.open_settings)
self.helpAction = menu.addAction(strings._('gui_settings_button_help', True))
self.helpAction.triggered.connect(SettingsDialog.help_clicked)
self.helpAction.triggered.connect(lambda: SettingsDialog.help_clicked(self))
self.exitAction = menu.addAction(strings._('systray_menu_exit', True))
self.exitAction.triggered.connect(self.close)