Mercurial > hg > svgui
diff widgets/ModelDataTableDialog.cpp @ 394:592d692b4f8b
* A bit more work on the data editor
author | Chris Cannam |
---|---|
date | Wed, 11 Jun 2008 12:54:18 +0000 |
parents | 6671eb37d6d6 |
children | 33c2f268c950 |
line wrap: on
line diff
--- a/widgets/ModelDataTableDialog.cpp Mon Jun 09 16:01:50 2008 +0000 +++ b/widgets/ModelDataTableDialog.cpp Wed Jun 11 12:54:18 2008 +0000 @@ -90,7 +90,7 @@ } void -ModelDataTableDialog::scrollToFrame(unsigned long frame) +ModelDataTableDialog::scrollToFrameRequested(unsigned long frame) { m_tableView->scrollTo(m_table->getModelIndexForFrame(frame)); } @@ -99,6 +99,7 @@ ModelDataTableDialog::viewClicked(const QModelIndex &index) { std::cerr << "ModelDataTableDialog::viewClicked: " << index.row() << ", " << index.column() << std::endl; + emit scrollToFrame(m_table->getFrameForModelIndex(index)); } void