diff options
author | Nao Pross <np@0hm.ch> | 2020-10-17 01:10:55 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2020-10-17 01:10:55 +0200 |
commit | 055533f4ed7792d8e14e0cfbe7452744c32eedb9 (patch) | |
tree | 3f10689a78481bc05a2e020e27876d39a3e15f0e /gui.py | |
parent | Write how to build an executable in README (diff) | |
download | Muddle-055533f4ed7792d8e14e0cfbe7452744c32eedb9.tar.gz Muddle-055533f4ed7792d8e14e0cfbe7452744c32eedb9.zip |
Sort moodle courses in GUI
Diffstat (limited to 'gui.py')
-rw-r--r-- | gui.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -166,6 +166,9 @@ class MoodleTreeView(QTreeWidget): for leaf in self.worker.moodleItems.leaves: self.addTopLevelItem(leaf.qt) + # sort only after the worker is done for efficiency + self.setSortingEnabled(True) + class QPlainTextEditLogger(logging.Handler): def __init__(self, parent): super().__init__() |