Mercurial > hg > documentViewer
diff documentViewer.py @ 530:5c7433c2515c
fix problems with texttool/text
author | casties |
---|---|
date | Thu, 26 Apr 2012 19:37:15 +0200 |
parents | f8a5f63eafc0 |
children | 0b8bed1223ad |
line wrap: on
line diff
--- a/documentViewer.py Thu Apr 26 14:45:05 2012 +0200 +++ b/documentViewer.py Thu Apr 26 19:37:15 2012 +0200 @@ -277,7 +277,8 @@ # auto viewMode: text if there is a text else images if viewMode=="auto": - if docinfo.get('textURL', None) or docinfo.get('textURLPath', None): + if docinfo.get('textURLPath', None): + # docinfo.get('textURL', None) not implemented yet viewMode = "text" if viewLayer is None: viewLayer = "dict"