Commit cb40fb7e authored by Ivan Tyagov's avatar Ivan Tyagov

Show download widget only if we have a list of formats to convert to.

parent 21964c3b
...@@ -314,7 +314,7 @@ ...@@ -314,7 +314,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: not request.get("dialog_mode", False) and request.get("current_web_document", context).isDocument()</string> </value> <value> <string>python: not request.get("dialog_mode", False) and request.get("current_web_document", context).isDocument() and len(context.getTargetFormatItemList())</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
1797 1798
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment