Break
This commit is contained in:
parent
297ea259bb
commit
6f5b50fb4f
|
@ -464,6 +464,8 @@ function app_launcher:search()
|
||||||
for _, matched_app in ipairs(self._private.matched_apps) do
|
for _, matched_app in ipairs(self._private.matched_apps) do
|
||||||
if #self:get_grid().children + 1 <= self._private.max_apps_per_page then
|
if #self:get_grid().children + 1 <= self._private.max_apps_per_page then
|
||||||
self:get_grid():add(app_widget:get(self, matched_app))
|
self:get_grid():add(app_widget:get(self, matched_app))
|
||||||
|
else
|
||||||
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue