Skip to content
Permalink
Browse files
Disable floating dock widgets in composer. Fix #5118
  • Loading branch information
NathanW2 committed May 4, 2012
1 parent 24e6dac commit 479907f90355fb4e622ca7dedcf16e547072dc74
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/composer/qgscomposer.cpp
@@ -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 );

0 comments on commit 479907f

Please sign in to comment.