mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 02:55:49 +03:00
LibLine: Reset next suggestion index when resetting suggestions
Otherwise we'd end up starting at the previous index on another suggestion list.
This commit is contained in:
parent
ae27d7e442
commit
dd5fb7b32a
Notes:
sideshowbarker
2024-07-17 11:42:03 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/dd5fb7b32a Pull-request: https://github.com/SerenityOS/serenity/pull/13686
@ -124,6 +124,7 @@ public:
|
||||
m_last_shown_suggestion_display_length = 0;
|
||||
m_suggestions.clear();
|
||||
m_last_displayed_suggestion_index = 0;
|
||||
m_next_suggestion_index = 0;
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user