# HG changeset patch # User Chris Cannam # Date 1574430641 0 # Node ID a8f913f79bd7fafdac9086e613cd6e9fa7ae5bb4 # Parent 80b319c1f0d0e902eac77e969ad7ada2424af6f2 Show only session and audio files in open-file dialog by default (see #1962) diff -r 80b319c1f0d0 -r a8f913f79bd7 main/MainWindow.cpp --- a/main/MainWindow.cpp Thu Nov 21 14:22:38 2019 +0000 +++ b/main/MainWindow.cpp Fri Nov 22 13:50:41 2019 +0000 @@ -1761,7 +1761,7 @@ if (orig == "") orig = "."; else orig = QFileInfo(orig).absoluteDir().canonicalPath(); - QString path = getOpenFileName(FileFinder::AnyFile); + QString path = getOpenFileName(FileFinder::SessionOrAudioFile); if (path.isEmpty()) return;