Skip to content
Snippets Groups Projects
Commit be0e8253 authored by NBurn's avatar NBurn
Browse files

Is key Free: added missing text keyword arguments

parent f3d32961
Branches
Tags
No related merge requests found
...@@ -253,15 +253,15 @@ class UIControlPanel(Panel): ...@@ -253,15 +253,15 @@ class UIControlPanel(Panel):
oldcontext = e[0] oldcontext = e[0]
row = box.row(align=True) row = box.row(align=True)
row.label(e[1]) row.label(text=e[1])
else: else:
cmd = mychecker.getlast() cmd = mychecker.getlast()
if cmd is not None: if cmd is not None:
box = layout.box() box = layout.box()
if mychecker.isvalidkey(mychecker.getlastkey()) is False: if mychecker.isvalidkey(mychecker.getlastkey()) is False:
box.label(str(mychecker.getlastkey()) + " looks not valid key", icon="ERROR") box.label(text=str(mychecker.getlastkey()) + " looks not valid key", icon="ERROR")
else: else:
box.label(str(cmd) + " is free", icon="FILE_TICK") box.label(text=str(cmd) + " is free", icon="FILE_TICK")
# ------------------------------------------------------ # ------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment