Commit 69419ac7 authored by Dominik Haumann's avatar Dominik Haumann

Merge branch 'symbolviewer-sorting' into 'master'

Added a line to set default sort order for the Symbolviewer.

See merge request kde/kate!17
parents c2c81693 c68a443e
......@@ -150,6 +150,8 @@ KatePluginSymbolViewerView::KatePluginSymbolViewerView(KatePluginSymbolViewer *p
m_symbols->setColumnHidden(1, true);
m_symbols->setSortingEnabled(m_sort->isChecked());
// Sets the default sorting order:
m_symbols->sortByColumn(0, Qt::AscendingOrder);
m_symbols->setRootIsDecorated(0);
m_symbols->setContextMenuPolicy(Qt::CustomContextMenu);
m_symbols->setIndentation(10);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment