diff options
| author | 2016-04-22 11:36:38 +0200 | |
|---|---|---|
| committer | 2016-04-22 11:36:47 +0200 | |
| commit | 29524a6f80da7350b2287828549db1ddd3decd66 (patch) | |
| tree | 0b00bc0dd7debde51d6f6aa28cd7cec03030cce3 | |
| parent | KVS: Small cleanups (diff) | |
| download | KVIrc-29524a6f80da7350b2287828549db1ddd3decd66.tar.gz KVIrc-29524a6f80da7350b2287828549db1ddd3decd66.tar.bz2 KVIrc-29524a6f80da7350b2287828549db1ddd3decd66.zip | |
Fix classes tree creation in class editor
| -rw-r--r-- | src/modules/classeditor/ClassEditorWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/classeditor/ClassEditorWindow.cpp b/src/modules/classeditor/ClassEditorWindow.cpp index 958387f0c..eafb55ccd 100644 --- a/src/modules/classeditor/ClassEditorWindow.cpp +++ b/src/modules/classeditor/ClassEditorWindow.cpp @@ -70,7 +70,7 @@ ClassEditorTreeWidget::ClassEditorTreeWidget(QWidget * pParent) setColumnCount (1); setHeaderLabel(__tr2qs_ctx("Class","editor")); setSelectionMode(QAbstractItemView::ExtendedSelection); - setSortingEnabled(true); + //setSortingEnabled(false); setRootIsDecorated(true); setAnimated(true); } @@ -223,7 +223,7 @@ ClassEditorWidget::ClassEditorWidget(QWidget * pParent) m_pContextPopup = new QMenu(this); oneTimeSetup(); - + m_pTreeWidget->setSortingEnabled(true); currentItemChanged(0,0); } |
