mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:47:34 +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 "HelpWindow.h"
|
||||||
#include "SpreadsheetWidget.h"
|
#include "SpreadsheetWidget.h"
|
||||||
#include <AK/LexicalPath.h>
|
#include <AK/LexicalPath.h>
|
||||||
|
#include <AK/QuickSort.h>
|
||||||
#include <LibGUI/BoxLayout.h>
|
#include <LibGUI/BoxLayout.h>
|
||||||
#include <LibGUI/Frame.h>
|
#include <LibGUI/Frame.h>
|
||||||
#include <LibGUI/ListView.h>
|
#include <LibGUI/ListView.h>
|
||||||
|
@ -45,6 +46,7 @@ public:
|
||||||
object.for_each_member([this](auto& name, auto&) {
|
object.for_each_member([this](auto& name, auto&) {
|
||||||
m_keys.append(name);
|
m_keys.append(name);
|
||||||
});
|
});
|
||||||
|
AK::quick_sort(m_keys);
|
||||||
invalidate();
|
invalidate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue