[Qgis-developer] Attribute Dialog inactive for new feature; regression from 2.2

Bernhard Ströbl bernhard.stroebl at jena.de
Thu Jul 10 08:13:36 PDT 2014


ticket created [1]

Bernhard

[1] http://hub.qgis.org/issues/10865

Am 09.07.2014 11:15, schrieb Bernhard Ströbl:
> Hi all,
>
> in a plugin I create a new feature for a vector layer (being in editing
> mode) and before adding it to the layer I want the user to input the
> attribute data. I use
>
> accepted = iface.openFeatureForm(layer, newFeature)
>
> However the OK button and all input widgets in the dialog are inactive.
>
> The same happens if I add the feature to the layer before calling
> openFeatureForm; all is active if I call openFeatureForm with a feature
> already in the layer, though.
>
> This is QGIS master on Linux 64 bit
>
> The behaviour is a regression to QGIS 2.2 where all works as expected.
>
> Is this the intended behaviour? If yes is there any work around suitable
> for QGIS 2.0+? If no, I will file a ticket.
>
> all the best
>
> Bernhard
>
>
> __________ Information from ESET Mail Security, version of virus
> signature database 10068 (20140709) __________
>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>


__________ Information from ESET Mail Security, version of virus signature database 10076 (20140710) __________

The message was checked by ESET Mail Security.
http://www.eset.com




More information about the Qgis-developer mailing list