ossp-pkg/as/as-gui/as_slot.cpp 1.91 -> 1.92
--- as_slot.cpp 2003/01/28 16:41:16 1.91
+++ as_slot.cpp 2003/01/28 17:33:55 1.92
@@ -163,7 +163,6 @@
m_pMaintable->insertRows(Select.bottomRow() + 1, nTotal);
m_pMaintable->setDirty(); // Set data to dirty state
m_pMaintable->setCurrentCell(Select.bottomRow() + 1, m_pMaintable->currentColumn());
- m_pMaintable->ensureCellVisible(m_pMaintable->numRows() - 1, 0); // Scroll please
// Update relevant data fields for all new rows
for (int nIter = 1; nIter <= nTotal; nIter++) {
@@ -373,7 +372,6 @@
// Fall through to implicit open code
this->setCaption(Filestring);
m_pStatbar->message(trUtf8("Loaded document ") + Filestring, 4000);
- m_pMaintable->ensureCellVisible(m_pMaintable->currentRow(), 0);
this->enableIface(true); // Turn on the lights
}
else
|
|