mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-06 08:25:15 -04:00
Cleanup tabs on cleanup
This commit is contained in:
parent
8530321e5d
commit
a0197e49d7
2 changed files with 3 additions and 2 deletions
|
@ -286,5 +286,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||
e.accept()
|
||||
|
||||
def cleanup(self):
|
||||
for index in range(self.tabs.count()):
|
||||
tab = self.tabs.widget(index)
|
||||
tab.cleanup()
|
||||
self.common.gui.onion.cleanup()
|
||||
# TODO: Run the tab's cleanup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue