Package: qgis / 2.4.0-1

0001-enable-feature-form-on-openFeatureForm-on-editable-l.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From b53cab2bed2cbafad8e505e35df52037a2456de6 Mon Sep 17 00:00:00 2001
From: "Juergen E. Fischer" <jef@norbit.de>
Date: Thu, 10 Jul 2014 23:59:04 +0200
Subject: enable feature form on openFeatureForm on editable layer (fixes
 #10865)
Origin: https://github.com/qgis/QGIS/commit/b53cab2bed2cbafad8e505e35df52037a2456de6
Bug: http://hub.qgis.org/issues/10865


--- a/src/app/qgsfeatureaction.cpp
+++ b/src/app/qgsfeatureaction.cpp
@@ -118,6 +118,7 @@ bool QgsFeatureAction::editFeature()
   else
   {
     QgsAttributes src = mFeature.attributes();
+    dialog->setIsAddDialog( true );
 
     if ( dialog->exec() )
     {