From 14041f774fc25ea1372587c344c42cdc57172155 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 9 May 2013 12:04:49 +0200 Subject: Click sorted samples hilight the corresponding canvas selection. --- dgedit/mainwindow.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dgedit/mainwindow.cc') 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); -- cgit v1.2.3