Merge pull request #965 from mig5/fix_help_systray

Fix crash when clicking Help in Systray
This commit is contained in:
Micah Lee 2019-04-21 18:09:55 -07:00 committed by GitHub
commit 99c51f55f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)