Skip to content

Commit

Permalink
Disable floating dock widgets in composer. Fix #5118
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed May 4, 2012
1 parent 24e6dac commit 479907f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/composer/qgscomposer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
mUndoDock = new QDockWidget( tr( "Command history" ), this );
mUndoDock->setObjectName( "CommandDock" );

mGeneralDock->setFeatures( QDockWidget::DockWidgetMovable );
mItemDock->setFeatures( QDockWidget::DockWidgetMovable );
mUndoDock->setFeatures( QDockWidget::DockWidgetMovable );


QgsCompositionWidget* compositionWidget = new QgsCompositionWidget( mGeneralDock, mComposition );
Expand Down

0 comments on commit 479907f

Please sign in to comment.