[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/koffice/1.6/koffice/kexi/plugins/queries
From: Sebastian Sauer <mail () dipe ! org>
Date: 2006-08-05 17:16:33
Message-ID: 1154798193.176868.27510.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 570084 by sebsauer:
better.
M +2 -2 kexiquerydesignerguieditor.cpp
--- branches/koffice/1.6/koffice/kexi/plugins/queries/kexiquerydesignerguieditor.cpp \
#570083:570084 @@ -586,8 +586,6 @@
}
QString errMsg;
KexiQueryPart::TempData * temp = tempData();
- if(! temp->query())
- buildSchema();
if (!(viewMode()==Kexi::DesignViewMode && !temp->queryChangedInPreviousView)) {
//only rebuild schema if it has not been rebuilt previously
if (!buildSchema(&errMsg)) {
@@ -596,6 +594,8 @@
return 0;
}
}
+ if(! temp->query())
+ buildSchema();
(KexiDB::SchemaData&)*temp->query() = sdata; //copy main attributes
bool ok = m_mainWin->project()->dbConnection()->storeObjectSchemaData( \
*temp->query(), true /*newObject*/ );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic