From 80f1b5a500cb36768f4f2e41e866f604fc93ccb3 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 7 Oct 2008 12:11:48 +0000 Subject: [PATCH] Allow Object browser's sections to be movable --- src/Qtx/QtxTreeView.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Qtx/QtxTreeView.cxx b/src/Qtx/QtxTreeView.cxx index ea2289616..6cf3ca533 100644 --- a/src/Qtx/QtxTreeView.cxx +++ b/src/Qtx/QtxTreeView.cxx @@ -178,6 +178,7 @@ QtxTreeView::QtxTreeView( QWidget* parent ) : QTreeView( parent ) { setHeader( new Header( false, this ) ); + header()->setMovable( true ); } /*! @@ -189,6 +190,7 @@ QtxTreeView::QtxTreeView( const bool enableSortMenu, QWidget* parent ) : QTreeView( parent ) { setHeader( new Header( enableSortMenu, this ) ); + header()->setMovable( true ); } /*! -- 2.39.2