diff options
-rw-r--r-- | onionshare_gui/onionshare_gui.py | 4 | ||||
-rw-r--r-- | onionshare_gui/settings_dialog.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/onionshare_gui/onionshare_gui.py b/onionshare_gui/onionshare_gui.py index 88f85deb..17839669 100644 --- a/onionshare_gui/onionshare_gui.py +++ b/onionshare_gui/onionshare_gui.py @@ -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) diff --git a/onionshare_gui/settings_dialog.py b/onionshare_gui/settings_dialog.py index a6fe6452..3c0b83f4 100644 --- a/onionshare_gui/settings_dialog.py +++ b/onionshare_gui/settings_dialog.py @@ -75,7 +75,7 @@ class SettingsDialog(QtWidgets.QDialog): self.autostart_timer_checkbox = QtWidgets.QCheckBox() self.autostart_timer_checkbox.setCheckState(QtCore.Qt.Checked) self.autostart_timer_checkbox.setText(strings._("gui_settings_autostart_timer_checkbox")) - autostart_timer_label = QtWidgets.QLabel(strings._("gui_settings_whats_this").format("Using-the-Auto-Start-Timer")) + autostart_timer_label = QtWidgets.QLabel(strings._("gui_settings_whats_this").format("https://github.com/micahflee/onionshare/wiki/Using-the-Auto-Start-Timer")) autostart_timer_label.setStyleSheet(self.common.css['settings_whats_this']) autostart_timer_label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) autostart_timer_label.setOpenExternalLinks(True) |