Index: ossp-pkg/as/as-gui/as_slot.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_slot.cpp,v rcsdiff -q -kk '-r1.144' '-r1.145' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_slot.cpp,v' 2>/dev/null --- as_slot.cpp 2004/08/20 17:47:07 1.144 +++ as_slot.cpp 2004/08/24 21:42:16 1.145 @@ -682,10 +682,15 @@ // void Titraqform::inplaceEdit(int nRow, int nCol, int nButton, const QPoint &Mousepos) { + // Table read only attribute must be reset here, so that editing can take + // place. Otherwise calls to editCell are ignored (for obvious reasons). m_pMaintable->setReadOnly(false); + + // After editCell() is called, beginEdit() and endEdit() execute. The read + // only attribute is reset in endEdit() to return everything to normal. m_pMaintable->editCell(nRow, nCol); + m_pMaintable->setEdition(nCol); - m_pMaintable->setReadOnly(true); } //