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

List:       kde-commits
Subject:    koffice/kexi/tableview
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2004-08-21 18:55:25
Message-ID: 20040821185525.01DBA3082 () office ! kde ! org
[Download RAW message or body]

CVS commit by staniek: 

TableView
- KexiTableViewData::deleteRows(): refresh is requested only 
  if at least one row has been removed. This also magically fixed 
  a bug with missing vheaders in the Query Designer :)


  M +2 -0      kexitableviewdata.cpp   1.32


--- koffice/kexi/tableview/kexitableviewdata.cpp  #1.31:1.32
@@ -602,4 +602,6 @@ bool KexiTableViewData::deleteRow(KexiTa
 void KexiTableViewData::deleteRows( const QValueList<int> &rowsToDelete, bool repaint )
 {
+        if (rowsToDelete.isEmpty())
+                return;
         int last_r=0;
         first();


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

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