mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
Spreadsheet: Sort functions by name in the help window
This commit is contained in:
parent
dd5fb7b32a
commit
04763c4a12
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
#include "HelpWindow.h"
|
||||
#include "SpreadsheetWidget.h"
|
||||
#include <AK/LexicalPath.h>
|
||||
#include <AK/QuickSort.h>
|
||||
#include <LibGUI/BoxLayout.h>
|
||||
#include <LibGUI/Frame.h>
|
||||
#include <LibGUI/ListView.h>
|
||||
|
@ -45,6 +46,7 @@ public:
|
|||
object.for_each_member([this](auto& name, auto&) {
|
||||
m_keys.append(name);
|
||||
});
|
||||
AK::quick_sort(m_keys);
|
||||
invalidate();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue