Validate data
This commit is contained in:
parent
e5b37216ba
commit
91a5ce7861
Binary file not shown.
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue