Fix calling the method on the wrong object

This commit is contained in:
Ksaper 2023-03-13 01:06:40 +02:00
parent df599e260d
commit debaa44042
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ local function build_widget(self)
self:get_text_input():connect_signal("key::release", function(_, mod, key, cmd)
if key == "Return" 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)