changeset 405:7920688d8e70

* Fix two problems reported by Matthias in the data editor window: - highlighted row was incorrect (it was highlighting the row for the next item after the current position, not the one before it as it should be) - making a row current moved the centre frame of the view, but did not change the playback position as it should do
author Chris Cannam
date Thu, 26 Jun 2008 12:41:23 +0000
parents 4075bf03faef
children b83db9792d11
files widgets/ModelDataTableDialog.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/widgets/ModelDataTableDialog.cpp	Wed Jun 18 15:53:23 2008 +0000
+++ b/widgets/ModelDataTableDialog.cpp	Thu Jun 26 12:41:23 2008 +0000
@@ -178,8 +178,8 @@
 
     // should only select if no part of the desired row is currently selected
 
-    std::cerr << "rh = " << rh << ", row = " << row << ", scrolling to "
-              << topRow << std::endl;
+//    std::cerr << "rh = " << rh << ", row = " << row << ", scrolling to "
+//              << topRow << std::endl;
 
     int pos = m_tableView->rowViewportPosition(row);