diff --git a/changelog b/changelog index 438613ad..d3f60585 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,4 @@ + * set initial sorting to ascending order * add RFC2253 representation of subject and issuer * to copy&paste * fix dialog sizes for long DNs diff --git a/widgets/XcaTreeView.cpp b/widgets/XcaTreeView.cpp index c749057f..14df9079 100644 --- a/widgets/XcaTreeView.cpp +++ b/widgets/XcaTreeView.cpp @@ -64,6 +64,7 @@ XcaTreeView::XcaTreeView(QWidget *parent) setEditTriggers(QAbstractItemView::EditKeyPressed); setRootIsDecorated(false); setUniformRowHeights (true); + //setAnimated(true); proxy = new QSortFilterProxyModel(this); #if QT_VERSION >= 0x040200 @@ -74,6 +75,7 @@ XcaTreeView::XcaTreeView(QWidget *parent) header()->setSortIndicatorShown(true); #endif basemodel = NULL; + sortByColumn(0, Qt::AscendingOrder); } XcaTreeView::~XcaTreeView()