Version 75 deleted parent fix

This commit is contained in:
Hydrus 2013-07-03 16:39:13 -05:00
parent 62528976e3
commit d4c36fefc3
2 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,7 @@
<li>deleted tags will now always show in manage tags dialog</li>
<li>fixed the various problems that were stopping DELETED->PENDING->CURRENT working for tags</li>
<li>fixed the children can only have one parent bug</li>
<li>fixed a deleted tag parents bug</li>
<li>a little counting logic improved in the special deleted_pending case</li>
<li>fixed a typo re uploading file to a repo</li>
<li>main guis statusbar now has a little 'db locked' indicator</li>

View File

@ -2745,13 +2745,13 @@ class TagParentsManager():
service_identifiers_to_statuses_to_pairs = wx.GetApp().Read( 'tag_parents' )
self._parents = collections.defaultdict( dict )
self._parents = collections.defaultdict( HC.default_dict_set )
for ( service_identifier, statuses_to_pairs ) in service_identifiers_to_statuses_to_pairs.items():
pairs = statuses_to_pairs[ HC.CURRENT ].union( statuses_to_pairs[ HC.PENDING ] )
self._parents[ service_identifier ] = HC.BuildKeyToListDict( pairs )
self._parents[ service_identifier ] = HC.BuildKeyToSetDict( pairs )
t_s_p = list( self._tag_service_precedence )