From 960c2630b42bac8d0e59e4c9861f91e634bf15d4 Mon Sep 17 00:00:00 2001 From: Date: Fri, 20 Jun 2008 13:35:43 +0000 Subject: [PATCH] bugfix 2571 --- src/gui/ObjectListView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/ObjectListView.cpp b/src/gui/ObjectListView.cpp index 620e2c475..700e2dc27 100644 --- a/src/gui/ObjectListView.cpp +++ b/src/gui/ObjectListView.cpp @@ -69,6 +69,8 @@ ObjectListView::ObjectListView(QWidget* parent, const char*, setFocus(); header()->setClickable(true); header()->setMovable(false); + setSortingEnabled(true); + sortByColumn ( 0, Qt::AscendingOrder ); connect (header (),SIGNAL(sectionClicked (int)),this,SLOT(sectionClicked (int))); }