Skip to content

Commit

Permalink
Keep feature form only on top of application and not system
Browse files Browse the repository at this point in the history
Better fix #15103
  • Loading branch information
m-kuhn committed Jun 24, 2016
1 parent 279a65b commit 66c47d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsfeatureaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
{
Expand Down

1 comment on commit 66c47d7

@nyalldawson
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nyalldawson note to self to do this for measure dialog too

Please sign in to comment.