ossp-pkg/as/as-gui/as_slot.cpp 1.74 -> 1.75
--- as_slot.cpp 2002/12/20 15:13:52 1.74
+++ as_slot.cpp 2002/12/20 17:42:10 1.75
@@ -1187,8 +1187,9 @@
if (m_pMaintable->columnWidth(TITRAQ_IDXREMARK) > 0)
m_pPrefs->setNumber(TITRAQ_PREFREMCOLWIDTH, (long)m_pMaintable->columnWidth(TITRAQ_IDXREMARK));
- // Get sorting order from matrix table and pass it to prefs handler
- m_pPrefs->setNumber(TITRAQ_PREFSORT, (long)m_pMaintable->getSortcol());
+ // Get sorting order and direction from table and pass it to prefs handler
+ m_pPrefs->setNumber(TITRAQ_PREFSORTCOL, (long)m_pMaintable->getSortcol());
+ m_pPrefs->setBool(TITRAQ_PREFSORTDIR, (long)m_pMaintable->getSortdir());
// Set frame geometry preferences
m_pPrefs->setNumber(TITRAQ_PREFFRAMEWIDTH, (long)this->width());
|
|