feat: Implement database update/sync from seed, add schema migrations, and introduce deck skills view.

This commit is contained in:
kiyreload27
2025-12-31 23:18:32 +00:00
parent a2ac99e8b6
commit 040f8396dd
4 changed files with 37 additions and 11 deletions

View File

@@ -161,8 +161,10 @@ class DeckSkillsFrame(ttk.Frame):
display_text = f"{owned_mark}{name}"
# Parent row only needs display text and rarity (optional)
iid = self.tree.insert('', tk.END, text=display_text, image=img, open=True,
# We remove open=True from insert and set it using item() to avoid Tcl Errors on some systems
iid = self.tree.insert('', tk.END, text=display_text, image=img if img else "",
values=("", rarity, f"{type_icon} {card_type}", ""))
self.tree.item(iid, open=True)
return iid
def add_skill_row(self, parent_id, skill_name, source, details):