Validate data

This commit is contained in:
Mauricio Baeza 2020-12-21 22:19:44 -06:00
parent e5b37216ba
commit 91a5ce7861
2 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@ -22,6 +22,11 @@ def _use_dialog():
def _insert_code(type_code):
sel = app.selection
data = sel.value
if not data:
msg = _('Select data')
app.errorbox(msg)
return
path = app.paths.tmp()
if type_code == QR: