[Qgis-developer] Bug in openFeatureForm (QGIS 2.6)

Sahbani Sarra sarra.sahbani at spaceyes3d.com
Wed Mar 11 02:42:35 PDT 2015


Hi,

 

I used QGIS 2.6.1

I have a crush when I used "QgisAppInterface::openFeatureForm(...) " that
called the function " QgsFeatureAction::editFeature(...)"

In this function: 

 

dialog->setAttribute( Qt::WA_DeleteOnClose );

int rv = dialog->exec();

mFeature.setAttributes( dialog->feature()->attributes() );  // here there is
a bug  because dialog is deleted  when I close the dialog

 

 

is there another alternative of QgisAppInterface::openFeatureForm(...) ?

 

 

Best regards,

Sarra  Sahbani 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150311/efe54a46/attachment.html>


More information about the Qgis-developer mailing list