mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-27 16:45:44 -04:00
Make new tab button login in the QTabWidget instead of QTabBar
This commit is contained in:
parent
509516c46a
commit
985b2c4719
4 changed files with 109 additions and 25 deletions
|
@ -38,7 +38,7 @@ class Tab(QtWidgets.QWidget):
|
|||
A GUI tab, you know, sort of like in a web browser
|
||||
"""
|
||||
|
||||
def __init__(self, common, system_tray, status_bar, filenames):
|
||||
def __init__(self, common, system_tray, status_bar, filenames=None):
|
||||
super(Tab, self).__init__()
|
||||
self.common = common
|
||||
self.common.log("Tab", "__init__")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue