diff --git a/src/ui/windows/room_list.lua b/src/ui/windows/room_list.lua index 354d3713..fa33dc88 100644 --- a/src/ui/windows/room_list.lua +++ b/src/ui/windows/room_list.lua @@ -143,8 +143,8 @@ function roomList:editorMapTargetChanged() local selected = self:setSelection(roomNameCleaned, true, true) if not selected then - self:setFilterText("", true) - self:setSelection(roomNameCleaned, true, true) + self:setFilterText("") + self:updateItems(getRoomItems(), roomNameCleaned, nil, true) end end end