Autohide persistent QR in catalog, fix #1241

That was easier than expected
This commit is contained in:
ferongr 2013-08-23 23:42:05 +03:00
parent de82bd3e45
commit 638c836e59

View File

@ -52,7 +52,7 @@ QR =
persist: ->
QR.open()
QR.hide() if Conf['Auto-Hide QR']
QR.hide() if Conf['Auto-Hide QR'] or g.VIEW is 'catalog'
open: ->
if QR.nodes
QR.nodes.el.hidden = false