ossp-pkg/as/as-gui/as_slot.cpp 1.15 -> 1.16
--- as_slot.cpp 2002/11/26 17:23:51 1.15
+++ as_slot.cpp 2002/11/26 17:34:02 1.16
@@ -46,15 +46,9 @@
//
void Titraqform::addEntry(void)
{
- Prototype Unimp;
- Unimp.doMbox();
-// if (!pTable->text().isEmpty()) {
-// QTableRow *pRow = new QTableRow;
-// pRow->setText(0, NULL);
-// pRow->setText(1, NULL);
-// pRow->setText(2, NULL);
-// pRow->setText(3, NULL);
-// }
+ // Adds a new row to end of table and focuses to it
+ m_pMaintable->setNumRows(m_pMaintable->numRows() + 1);
+ m_pMaintable->setCurrentCell(m_pMaintable->numRows(), 0);
}
//
|
|