summaryrefslogtreecommitdiff
path: root/dgedit/mainwindow.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-05-09 12:04:49 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-05-09 12:04:49 +0200
commit14041f774fc25ea1372587c344c42cdc57172155 (patch)
treec953eb1b7e0b5ef771950665de02c44c42ab8206 /dgedit/mainwindow.cc
parenta4d73c0cb2321bd61bd31d2922ae469389e5825e (diff)
Click sorted samples hilight the corresponding canvas selection.
Diffstat (limited to 'dgedit/mainwindow.cc')
-rw-r--r--dgedit/mainwindow.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/dgedit/mainwindow.cc b/dgedit/mainwindow.cc
index 7d060cb..30cd626 100644
--- a/dgedit/mainwindow.cc
+++ b/dgedit/mainwindow.cc
@@ -117,6 +117,9 @@ MainWindow::MainWindow()
connect(selections, SIGNAL(activeSelectionChanged(Selection)),
sorter, SLOT(setActiveSelection(Selection)));
+ connect(sorter, SIGNAL(activeSelectionChanged(Selection)),
+ selections, SLOT(setActiveSelection(Selection)));
+
lh->addWidget(canvas);
lh->addWidget(yscale);
lh->addWidget(yoffset);