Fix geometry save/restore for snapping configuration dialog, make

dialog a Tool window type
This commit is contained in:
Nyall Dawson 2020-02-05 13:56:47 +10:00
parent b4c359a56b
commit 9cdf76a9a2

View File

@ -1132,7 +1132,8 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
}
else
{
QDialog *dialog = new QDialog( this );
QDialog *dialog = new QDialog( this, Qt::Tool );
dialog->setObjectName( QStringLiteral( "snappingSettings" ) );
dialog->setWindowTitle( tr( "Project Snapping Settings" ) );
QgsGui::instance()->enableAutoGeometryRestore( dialog );
QVBoxLayout *layout = new QVBoxLayout( dialog );