mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:47:35 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ public:
|
||||||
m_last_shown_suggestion_display_length = 0;
|
m_last_shown_suggestion_display_length = 0;
|
||||||
m_suggestions.clear();
|
m_suggestions.clear();
|
||||||
m_last_displayed_suggestion_index = 0;
|
m_last_displayed_suggestion_index = 0;
|
||||||
|
m_next_suggestion_index = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue