diff options
Diffstat (limited to 'src/filelist.cc')
-rw-r--r-- | src/filelist.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filelist.cc b/src/filelist.cc index e1467e3..dab2095 100644 --- a/src/filelist.cc +++ b/src/filelist.cc @@ -433,7 +433,7 @@ FileList::FileList(Instrument& instrument) header()->resizeSection(2, 24); connect(this, SIGNAL(doubleClicked(const QModelIndex&)), - this, SLOT(selectionChanged(const QModelIndex&))); + this, SLOT(rangeChanged(const QModelIndex&))); createMenus(); } @@ -510,7 +510,7 @@ void FileList::addFiles() model->refresh(); } -void FileList::selectionChanged(const QModelIndex &index) +void FileList::rangeChanged(const QModelIndex &index) { auto audiofile_ids = instrument.getAudioFileList(); auto audiofile_id = audiofile_ids.begin() + index.row(); |