mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 20:42:21 +00:00
LibGUI: Add AutocompleteProvider::has_suggestions()
This commit is contained in:
parent
1bf428d296
commit
713b6badb0
Notes:
sideshowbarker
2024-07-18 01:34:24 +09:00
Author: https://github.com/thislooksfun
Commit: 713b6badb0
Pull-request: https://github.com/SerenityOS/serenity/pull/10642
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ public:
|
||||||
void show(Gfx::IntPoint suggestion_box_location);
|
void show(Gfx::IntPoint suggestion_box_location);
|
||||||
void close();
|
void close();
|
||||||
|
|
||||||
|
bool has_suggestions() { return m_suggestion_view->model()->row_count() > 0; }
|
||||||
void next_suggestion();
|
void next_suggestion();
|
||||||
void previous_suggestion();
|
void previous_suggestion();
|
||||||
void apply_suggestion();
|
void apply_suggestion();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue