fix: update recent libs when creating new one

This commit is contained in:
yedpodtrzitko
2024-05-16 13:28:29 +08:00
parent 66aecf2030
commit 1bfc24b70f

View File

@@ -1392,7 +1392,7 @@ class QtDriver(QObject):
# self.lib.refresh_missing_files()
# title_text = f'{self.base_title} - Library \'{self.lib.library_dir}\''
# self.main_window.setWindowTitle(title_text)
self.update_libs_list(path)
pass
else:
logging.info(
@@ -1401,6 +1401,7 @@ class QtDriver(QObject):
print(f"Library Creation Return Code: {self.lib.create_library(path)}")
self.add_new_files_callback()
self.update_libs_list(path)
title_text = f"{self.base_title} - Library '{self.lib.library_dir}'"
self.main_window.setWindowTitle(title_text)