Fix calling the method on the wrong object
This commit is contained in:
parent
df599e260d
commit
debaa44042
|
@ -227,7 +227,7 @@ local function build_widget(self)
|
||||||
self:get_text_input():connect_signal("key::release", function(_, mod, key, cmd)
|
self:get_text_input():connect_signal("key::release", function(_, mod, key, cmd)
|
||||||
if key == "Return" then
|
if key == "Return" then
|
||||||
if self:get_rofi_grid():get_selected_widget() ~= nil then
|
if self:get_rofi_grid():get_selected_widget() ~= nil then
|
||||||
self:get_rofi_grid():get_selected_widget():run()
|
self:get_rofi_grid():get_selected_widget().entry:run()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue