Skip to content

Commit 3a3470f

Browse files
committed
fix: changes made in the preview panel are saved to the database
1 parent 990142e commit 3a3470f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tagstudio/src/qt/widgets/tag_box.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ def edit_tag(self, tag: Tag):
139139
self.edit_modal.saved.connect(
140140
lambda: self.driver.lib.update_tag(
141141
build_tag_panel.build_tag(),
142-
subtag_ids=build_tag_panel.subtag_ids,
142+
subtag_ids=set(build_tag_panel.subtag_ids),
143+
alias_names=set(build_tag_panel.alias_names),
144+
alias_ids=set(build_tag_panel.alias_ids),
143145
)
144146
)
145147
self.edit_modal.show()

0 commit comments

Comments
 (0)