[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi/plugins/tables
From: Jaroslaw Staniek <js () iidea ! pl>
Date: 2005-08-02 9:57:34
Message-ID: 1122976654.651803.13977.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 442313 by staniek:
Table Designer
- a fix for 'subType' combo
M +2 -2 kexialtertabledialog.cpp
--- trunk/koffice/kexi/plugins/tables/kexialtertabledialog.cpp #442312:442313
@@ -298,7 +298,7 @@
const QStringList nlist = KexiDB::typeNamesForGroup(field->typeGroup());
kdDebug() << "KexiAlterTableDialog::init(): subType strings: " <<
slist.join("|") << "\nnames: " << nlist.join("|") << endl;
- set->addProperty(prop = new KoProperty::Property("subType", nlist, slist, \
field->typeString(), i18n("Subtype"))); + set->addProperty(prop = new \
KoProperty::Property("subType", slist, nlist, field->typeString(), i18n("Subtype"))); \
set->addProperty( prop = new KoProperty::Property("caption", \
QVariant(field->caption()), i18n("Caption") ) ); #ifdef KEXI_NO_UNFINISHED
@@ -583,7 +583,7 @@
KoProperty::Property *subTypeProperty = &set["subType"];
//update subtype list and value
- subTypeProperty->setListData( nlist, slist );
+ subTypeProperty->setListData( slist, nlist );
if (set["primaryKey"].value().toBool()==true) //primary keys require big int
fieldType = KexiDB::Field::BigInteger;
subTypeProperty->setValue( KexiDB::Field::typeString(fieldType) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic