diff --git a/tagstudio/src/core/library.py b/tagstudio/src/core/library.py index 5d09eaa59..bbbd61ef8 100644 --- a/tagstudio/src/core/library.py +++ b/tagstudio/src/core/library.py @@ -837,7 +837,7 @@ def save_library_backup_to_disk(self) -> str: logging.info(f"[LIBRARY] Saving Library Backup to Disk...") start_time = time.time() - filename = f'ts_library_backup_{datetime.datetime.utcnow().strftime("%F_%T").replace(":", "")}.json' + filename = f'ts_library_backup_{datetime.datetime.now(datetime.UTC).strftime("%F_%T").replace(":", "")}.json' self.verify_ts_folders() with open( diff --git a/tagstudio/src/qt/widgets/preview_panel.py b/tagstudio/src/qt/widgets/preview_panel.py index 049115af4..4376dfc5c 100644 --- a/tagstudio/src/qt/widgets/preview_panel.py +++ b/tagstudio/src/qt/widgets/preview_panel.py @@ -925,6 +925,7 @@ def write_container(self, index, field, mixed=False): inner_container = TextWidget( title, str(self.lib.get_field_attr(field, "content")) ) + container.set_inner_widget(inner_container) # if type(item) == Entry: container.set_copy_callback(None) container.set_edit_callback(None)