Fix crash when clicking Help in Systray

This commit is contained in:
Miguel Jacq 2019-04-22 09:10:00 +10:00
parent 7c3d7c668c
commit 2c5a1d0365
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -71,8 +71,8 @@ class OnionShareGui(QtWidgets.QMainWindow):
menu = QtWidgets.QMenu()
self.settings_action = menu.addAction(strings._('gui_settings_window_title'))
self.settings_action.triggered.connect(self.open_settings)
help_action = menu.addAction(strings._('gui_settings_button_help'))
help_action.triggered.connect(SettingsDialog.help_clicked)
self.help_action = menu.addAction(strings._('gui_settings_button_help'))
self.help_action.triggered.connect(lambda: SettingsDialog.help_clicked(self))
exit_action = menu.addAction(strings._('systray_menu_exit'))
exit_action.triggered.connect(self.close)