Skip to content
Permalink
Browse files

Fix incorrect dialog title for raster layer properties

Fixes #35510
  • Loading branch information
nyalldawson committed May 20, 2020
1 parent 24ee358 commit 2099261230f82c5cd4439538e38754947c8f6bd6
Showing with 6 additions and 4 deletions.
  1. +6 −4 src/gui/qgsoptionsdialogbase.cpp
@@ -166,11 +166,13 @@ void QgsOptionsDialogBase::restoreOptionsBaseUi( const QString &title )
if ( !title.isEmpty() )
{
mDialogTitle = title;
updateWindowTitle();
}

// re-save original dialog title in case it was changed after dialog initialization
mDialogTitle = windowTitle();
else
{
// re-save original dialog title in case it was changed after dialog initialization
mDialogTitle = windowTitle();
}
updateWindowTitle();

restoreGeometry( mSettings->value( QStringLiteral( "/Windows/%1/geometry" ).arg( mOptsKey ) ).toByteArray() );
// mOptListWidget width is fixed to take up less space in QtDesigner

0 comments on commit 2099261

Please sign in to comment.
You can’t perform that action at this time.