[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi/widget
From: Lucijan Busch <lucijan () gmx ! at>
Date: 2003-07-02 18:56:59
[Download RAW message or body]
CVS commit by lucijan:
fixed the bug which made the "insert-star" always sitting at the second row
(quite ugly ;)
M +7 -2 kexidatatable.cpp 1.58
--- koffice/kexi/widget/kexidatatable.cpp #1.57:1.58
@@ -45,4 +45,5 @@
#include "kexidatatable.h"
#include "kexitableview.h"
+#include "kexitableheader.h"
#include "kexiproject.h"
#include "kexiview.h"
@@ -230,4 +231,8 @@ KexiDataTable::slotItemChanged(KexiTable
newinsert->setHint(QVariant(i->getHint().toInt() + 1));
newinsert->setInsertItem(true);
+
+ m_tableView->takeInsertItem();
+ m_tableView->recordMarker()->setInsertRow(m_tableView->rows());
+ m_tableView->setInsertItem(newinsert);
}
else
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic