Skip to content
Permalink
Browse files
Fix layout designer window title
  • Loading branch information
nyalldawson committed Dec 6, 2017
1 parent 9c4a98f commit 696b21a
Showing 1 changed file with 1 addition and 0 deletions.
@@ -637,6 +637,7 @@ void QgsLayoutDesignerDialog::setCurrentLayout( QgsLayout *layout )
mLayout->guides().clear();
} );
connect( mLayout, &QgsLayout::nameChanged, this, &QgsLayoutDesignerDialog::setWindowTitle );
setWindowTitle( mLayout->name() );

mActionShowGrid->setChecked( mLayout->context().gridVisible() );
mActionSnapGrid->setChecked( mLayout->snapper().snapToGrid() );

0 comments on commit 696b21a

Please sign in to comment.