ossp-pkg/as/as-gui/as_dataop.cpp 1.20 -> 1.21
--- as_dataop.cpp 2002/12/13 11:46:38 1.20
+++ as_dataop.cpp 2002/12/13 20:50:18 1.21
@@ -228,6 +228,9 @@
QString Strsearch; // String to strip search
QRegExp Stripper("\\s*$"); // Pattern to strip off
+ // Optimize viewing by repainting cells only once after processing
+ m_pMaintable->setUpdatesEnabled(false);
+
// Linewise save from the main table date, time, account, and others
for (int nIter = 0; nIter < nRows; nIter++) {
Tempfield = m_pMaintable->text(nIter, TITRAQ_IDXUSER); // Load user field text
@@ -276,6 +279,8 @@
Tstream << endl; // Append a newline
}
+
+ m_pMaintable->setUpdatesEnabled(true); // Update and repaint
}
//
|
|