[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi/plugins/queries
From: Sebastian Sauer <mail () dipe ! org>
Date: 2006-08-05 17:16:56
Message-ID: 1154798216.206860.27674.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 570085 by sebsauer:
port r570084;
better.
M +2 -2 kexiquerydesignerguieditor.cpp
--- trunk/koffice/kexi/plugins/queries/kexiquerydesignerguieditor.cpp #570084:570085
@@ -593,8 +593,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)) {
@@ -603,6 +601,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