[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi/plugins/queries
From: Jaroslaw Staniek <js () iidea ! pl>
Date: 2005-04-07 10:42:43
Message-ID: 20050407104243.6CFE3487 () office ! kde ! org
[Download RAW message or body]
CVS commit by staniek:
fixed problem with switching from text view mode to data view mode
-> kexibug #79 resolved
M +3 -1 kexiquerydesignersql.cpp 1.39
--- koffice/kexi/plugins/queries/kexiquerydesignersql.cpp #1.38:1.39
@@ -272,6 +272,7 @@ KexiQueryDesignerSQLView::afterSwitchFro
KexiQueryPart::TempData * temp = tempData();
KexiDB::QuerySchema *query = temp->query;
- if (!query) //try to just get saved schema, instead of temporary one
+ if (!query) {//try to just get saved schema, instead of temporary one
query = dynamic_cast<KexiDB::QuerySchema *>(parentDialog()->schemaData());
+ }
if (mode!=0/*failure only if it is switching from prev. view*/ && !query) {
@@ -287,4 +288,5 @@ KexiQueryDesignerSQLView::afterSwitchFro
else {
// Use query with Kexi keywords (but not driver-specific keywords) escaped.
+ temp->query = query;
KexiDB::Connection* conn = mainWin()->project()->dbConnection();
int flags = KexiDB::Driver::EscapeKexi;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic