remove file name from window title after closing the last file
This commit is contained in:
@@ -58,6 +58,8 @@ class Tabs(QWidget):
|
||||
file = full_tab.file_view.get_file()
|
||||
file_name = os.path.basename(file)
|
||||
RavenUI.update_window_title(file_name)
|
||||
else:
|
||||
RavenUI.update_window_title("")
|
||||
|
||||
def _close_tab(self, tab_index: int):
|
||||
full_tab: FullTabWidget = self.tabs.widget(tab_index)
|
||||
|
||||
Reference in New Issue
Block a user