Skip to content

Commit

Permalink
Addendum #202
Browse files Browse the repository at this point in the history
  • Loading branch information
kanurag94 authored Aug 19, 2020
1 parent cc100c4 commit 2d5d23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui-hlp/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1673,7 +1673,7 @@ void uih_sffein(uih_context *c, const char *text)
// Keep only top 10 entries
QSettings settings;
QStringList values = settings.value("Formulas/UserFormulas").toStringList();
values.push_back(text);
values.push_front(text);
while (values.size() > 10) values.pop_back();
settings.setValue("Formulas/UserFormulas", values);

Expand Down

0 comments on commit 2d5d23f

Please sign in to comment.