Skip to content
Permalink
Browse files

Fix incorrect dialog title for raster layer properties

Fixes #35510

(cherry picked from commit 2099261)
  • Loading branch information
nyalldawson committed May 20, 2020
1 parent 14366d5 commit a3530fa386dd7af9afc6467b22aed8a9d248403a
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 a3530fa

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