mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-29 01:06:16 -05:00
Pass self to help_clicked function in systray, so we can use self.common
This commit is contained in:
parent
0e9e729b6f
commit
85fa44a01f
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user