diff --git a/files/ZAZLaTex2SVG_v0.1.0.oxt b/files/ZAZLaTex2SVG_v0.1.0.oxt index cde03fd..01b626d 100644 Binary files a/files/ZAZLaTex2SVG_v0.1.0.oxt and b/files/ZAZLaTex2SVG_v0.1.0.oxt differ diff --git a/source/ZAZLaTex2SVG.py b/source/ZAZLaTex2SVG.py index a9f172b..c22f4e1 100644 --- a/source/ZAZLaTex2SVG.py +++ b/source/ZAZLaTex2SVG.py @@ -46,6 +46,12 @@ class Controllers(object): return def cmd_insert_action(self, event): + data = self.d.text.value + if not data: + msg = _('Write some code') + app.errorbox(msg) + return + msg = _('You shure insert this equation') if not app.question(msg): return