mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 08:49:30 -05:00
Fix crash when clicking Help in Systray
This commit is contained in:
parent
7c3d7c668c
commit
2c5a1d0365
@ -71,8 +71,8 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
|||||||
menu = QtWidgets.QMenu()
|
menu = QtWidgets.QMenu()
|
||||||
self.settings_action = menu.addAction(strings._('gui_settings_window_title'))
|
self.settings_action = menu.addAction(strings._('gui_settings_window_title'))
|
||||||
self.settings_action.triggered.connect(self.open_settings)
|
self.settings_action.triggered.connect(self.open_settings)
|
||||||
help_action = menu.addAction(strings._('gui_settings_button_help'))
|
self.help_action = menu.addAction(strings._('gui_settings_button_help'))
|
||||||
help_action.triggered.connect(SettingsDialog.help_clicked)
|
self.help_action.triggered.connect(lambda: SettingsDialog.help_clicked(self))
|
||||||
exit_action = menu.addAction(strings._('systray_menu_exit'))
|
exit_action = menu.addAction(strings._('systray_menu_exit'))
|
||||||
exit_action.triggered.connect(self.close)
|
exit_action.triggered.connect(self.close)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user