awful.widget.prompt: Fix error display
This has to use :set_text() now. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
16d90af91d
commit
8712be7265
|
@ -23,7 +23,7 @@ local function run(promptbox)
|
|||
function (...)
|
||||
local result = util.spawn(...)
|
||||
if type(result) == "string" then
|
||||
promptbox.widget.text = result
|
||||
promptbox.widget:set_text(result)
|
||||
end
|
||||
end,
|
||||
completion.shell,
|
||||
|
|
Loading…
Reference in New Issue