[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:       2004-01-19 14:38:04
Message-ID: 20040119143804.169AF2A6E () office ! kde ! org
[Download RAW message or body]

CVS commit by staniek: 

crash fixed when schema is not created


  M +1 -1      kexiquerydesignersql.cpp   1.8


--- koffice/kexi/plugins/queries/kexiquerydesignersql.cpp  #1.7:1.8
@@ -73,5 +73,5 @@ KexiQueryDesignerSQL::afterSwitchFrom(in
 {
         kdDebug() << "KexiQueryDesignerSQL::afterSwitchFrom()" << endl;
-        if (m_doc) {
+        if (m_doc && m_doc->schema()) {
                 m_editor->setText(m_doc->schema()->connection()->selectStatement(*m_doc->schema()));
         }


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

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