Skip to content

Commit

Permalink
Show embedded form as widget, not as separate dialog
Browse files Browse the repository at this point in the history
Fix #10573
Fix #10606
  • Loading branch information
m-kuhn committed Jun 19, 2014
1 parent 20570bf commit 0ce4cbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsattributeform.cpp
Expand Up @@ -317,6 +317,7 @@ void QgsAttributeForm::init()
QFileInfo fi( mLayer->editForm() );
loader.setWorkingDirectory( fi.dir() );
formWidget = loader.load( &file, this );
formWidget->setWindowFlags( Qt::Widget );
layout()->addWidget( formWidget );
formWidget->show();
file.close();
Expand Down

0 comments on commit 0ce4cbf

Please sign in to comment.