Keep feature form only on top of application and not system

Better fix #15103
This commit is contained in:
Matthias Kuhn 2016-06-24 09:11:38 +02:00
parent 279a65bb7e
commit 66c47d7ae4

View File

@ -62,7 +62,7 @@ QgsAttributeDialog *QgsFeatureAction::newDialog( bool cloneFeature )
context.setFormMode( QgsAttributeEditorContext::StandaloneDialog );
QgsAttributeDialog *dialog = new QgsAttributeDialog( mLayer, f, cloneFeature, parentWidget(), true, context );
dialog->setWindowFlags( dialog->windowFlags() | Qt::WindowStaysOnTopHint );
dialog->setWindowFlags( dialog->windowFlags() | Qt::Tool );
if ( mLayer->actions()->size() > 0 )
{