[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/koffice/1.6/koffice/kexi/plugins/forms
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2006-10-03 19:36:11
Message-ID: 1159904171.544310.8254.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 592076 by staniek:

Forms
- solution for bug #134773: hide "Editor type" property for auto fields
  Kexi 2.0 will have it unhidden.
2.0: ported



 M  +3 -1      kexidbfactory.cpp  


--- branches/koffice/1.6/koffice/kexi/plugins/forms/kexidbfactory.cpp #592075:592076
@@ -613,7 +613,9 @@
 	else if(classname == "KexiDBAutoField") {
 		if (!isTopLevel && property=="caption")
 			return true; //force
-		if (property=="fieldTypeInternal" || property=="fieldCaptionInternal")
+		if (property=="fieldTypeInternal" || property=="fieldCaptionInternal"
+//! @todo unhide in 2.0
+			|| property=="widgetType")
 			return false;
 		ok = property!="text"; /* "text" is not needed as "caption" is used instead */
 	}
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic