Is key Free: added missing text keyword arguments

This commit is contained in:
nBurn 2019-02-07 23:05:11 -05:00
parent f3d3296137
commit be0e825355
1 changed files with 3 additions and 3 deletions

View File

@ -253,15 +253,15 @@ class UIControlPanel(Panel):
oldcontext = e[0]
row = box.row(align=True)
row.label(e[1])
row.label(text=e[1])
else:
cmd = mychecker.getlast()
if cmd is not None:
box = layout.box()
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:
box.label(str(cmd) + " is free", icon="FILE_TICK")
box.label(text=str(cmd) + " is free", icon="FILE_TICK")
# ------------------------------------------------------