Fix UI bug in library tags.

This commit is contained in:
luxick
2017-07-25 20:12:32 +02:00
parent 715ad4eeb3
commit 1db6ad0f2d
4 changed files with 3 additions and 3 deletions

View File

@@ -340,4 +340,4 @@ class CardVaultDB:
card.rulings = ast.literal_eval(row["rulings"])
card.foreign_names = ast.literal_eval(row["foreignNames"])
return card
return card

View File

@@ -178,7 +178,7 @@ class LibraryHandlers:
lib = self.app.library
else:
lib = self.app.get_tagged_cards(tag)
self.reload_tag_list(tag == "All" or tag == "Untagged")
self.reload_tag_list(not (tag == "All" or tag == "Untagged"))
tag_combo = self.app.ui.get_object("tagCardCombo")
tag_combo.set_model(self.app.ui.get_object("tagStore"))