Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 260:1a1c764ea636
* basics of data editing in data table view
author | Chris Cannam |
---|---|
date | Mon, 09 Jun 2008 16:01:50 +0000 |
parents | a31c65904a49 |
children | 2b4a4b8c465a |
line wrap: on
line diff
--- a/main/MainWindow.cpp Mon Jun 09 09:41:58 2008 +0000 +++ b/main/MainWindow.cpp Mon Jun 09 16:01:50 2008 +0000 @@ -3057,7 +3057,13 @@ if (model) { ModelDataTableDialog *dialog = new ModelDataTableDialog(model); - dialog->setAttribute(Qt::WA_DeleteOnClose); // see below + dialog->setAttribute(Qt::WA_DeleteOnClose); + connect(m_viewManager, + SIGNAL(globalCentreFrameChanged(unsigned long)), + dialog, SLOT(scrollToFrame(unsigned long))); + connect(m_viewManager, + SIGNAL(playbackFrameChanged(unsigned long)), + dialog, SLOT(scrollToFrame(unsigned long))); dialog->show(); return; }