ossp-pkg/as/as-gui/as_assist.cpp 1.77 -> 1.78
--- as_assist.cpp 2002/12/20 13:25:04 1.77
+++ as_assist.cpp 2002/12/20 15:13:52 1.78
@@ -918,6 +918,7 @@
//
void Titraqform::enableIface(bool bTurned)
{
+ // FIXME: Does not belong here, so relocate
if (!bTurned)
m_pMaintable->setNumRows(0); // Remove table data
@@ -947,6 +948,6 @@
m_pPasteact->setEnabled(bTurned);
// Unconditional settings
- this->updEdit(0, 0); // Update edit controls
- m_pMaintable->setDirty(false); // Reset to clean data
+ this->updEdit(m_pMaintable->currentRow(), 0); // Update edit controls
+ m_pMaintable->setDirty(false); // Reset to clean data
}
|
|