]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0021707: [CEA 585] Sort in object browser should be ascending by default
authorvsr <vsr@opencascade.com>
Thu, 9 Aug 2012 05:48:17 +0000 (05:48 +0000)
committervsr <vsr@opencascade.com>
Thu, 9 Aug 2012 05:48:17 +0000 (05:48 +0000)
src/Qtx/QtxTreeView.cxx

index b12d039e91efcc8420cf85087d53db5ab464bd4c..5c4f3c6652f1e3acfc6f6492fce6c10e2eeb0209 100644 (file)
@@ -142,6 +142,7 @@ void QtxTreeView::Header::contextMenuEvent( QContextMenuEvent* e )
         view->emitSortingEnabled( a->isChecked() );
         if ( a->isChecked() ) {
           connect( this, SIGNAL( sectionClicked( int ) ), view, SLOT( onHeaderClicked( int ) ) );
+         setSortIndicator( 0, Qt::AscendingOrder );
           view->sortByColumn( sortIndicatorSection(), sortIndicatorOrder() );
         }
         else {