mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-08 14:22:40 -04:00
In the settings dialog, show Tor connection status when the connection type is bundled
This commit is contained in:
parent
e295f90e68
commit
8677ea35e5
6 changed files with 55 additions and 120 deletions
|
@ -26,8 +26,9 @@ class Menu(QtWidgets.QMenuBar):
|
|||
"""
|
||||
OnionShare's menu bar.
|
||||
"""
|
||||
def __init__(self, parent=None):
|
||||
super(Menu, self).__init__(parent)
|
||||
def __init__(self, qtapp):
|
||||
super(Menu, self).__init__()
|
||||
self.qtapp = qtapp
|
||||
|
||||
file_menu = self.addMenu(strings._('gui_menu_file_menu', True))
|
||||
|
||||
|
@ -40,7 +41,7 @@ class Menu(QtWidgets.QMenuBar):
|
|||
"""
|
||||
Settings action triggered.
|
||||
"""
|
||||
SettingsDialog()
|
||||
SettingsDialog(self.qtapp)
|
||||
|
||||
def quit(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue