mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ local function run(promptbox)
|
||||||
function (...)
|
function (...)
|
||||||
local result = util.spawn(...)
|
local result = util.spawn(...)
|
||||||
if type(result) == "string" then
|
if type(result) == "string" then
|
||||||
promptbox.widget.text = result
|
promptbox.widget:set_text(result)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
completion.shell,
|
completion.shell,
|
||||||
|
|
Loading…
Reference in a new issue