reopen the files that were open the last time
This commit is contained in:
@@ -62,3 +62,10 @@ class Tabs(QWidget):
|
||||
|
||||
tab: Tab = self.tabs.widget(self.tabs.currentIndex())
|
||||
return tab.get_file()
|
||||
|
||||
def open_files(self) -> [str]:
|
||||
result = []
|
||||
for i in range(self.tabs.count()):
|
||||
tab: Tab = self.tabs.widget(i)
|
||||
result.append(tab.get_file())
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user