diff options
Diffstat (limited to 'ui/gridView.h')
-rw-r--r-- | ui/gridView.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/gridView.h b/ui/gridView.h index 53ca017b..c0639d2e 100644 --- a/ui/gridView.h +++ b/ui/gridView.h @@ -111,7 +111,9 @@ public: SORT_BY_SYNC_DIRECTION }; - void sortView(const SortType type, const bool onLeft, const bool ascending); //always call this method for sorting, never sort externally! + bool static getDefaultDirection(SortType type); //true: ascending; false: descending + + void sortView(SortType type, bool onLeft, bool ascending); //always call this method for sorting, never sort externally! private: class SerializeHierarchy; |