Skip to content

Commit

Permalink
Don't reload saved columns if column list is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
hssm committed Jun 29, 2014
1 parent af4aa86 commit a5e1109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion advancedbrowser/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, browser):
sortType = mw.col.conf['sortType']
reloadedCols = mw.col.conf.get(CONF_KEY, None)

if reloadedCols is None:
if not reloadedCols:
# We've never used this add-on before. Our initial state will be
# whatever active columns are already set.
return
Expand Down

0 comments on commit a5e1109

Please # to comment.