mirror of
https://github.com/LMMS/lmms.git
synced 2026-04-01 21:04:18 -04:00
Merge branch 'stable-1.2'
# Conflicts: # data/locale/pl.ts # include/SongEditor.h # plugins/vst_base/CMakeLists.txt # src/core/Song.cpp # src/gui/editors/SongEditor.cpp
This commit is contained in:
@@ -1518,7 +1518,12 @@ void MainWindow::exportProject(bool multiExport)
|
||||
// Get first extension from selected dropdown.
|
||||
// i.e. ".wav" from "WAV-File (*.wav), Dummy-File (*.dum)"
|
||||
suffix = efd.selectedNameFilter().mid( stx + 2, etx - stx - 2 ).split( " " )[0].trimmed();
|
||||
exportFileName.remove( "." + suffix, Qt::CaseInsensitive );
|
||||
|
||||
Qt::CaseSensitivity cs = Qt::CaseSensitive;
|
||||
#if defined(LMMS_BUILD_APPLE) || defined(LMMS_BUILD_WIN32)
|
||||
cs = Qt::CaseInsensitive;
|
||||
#endif
|
||||
exportFileName.remove( "." + suffix, cs );
|
||||
if ( efd.selectedFiles()[0].endsWith( suffix ) )
|
||||
{
|
||||
if( VersionedSaveDialog::fileExistsQuery( exportFileName + suffix,
|
||||
|
||||
Reference in New Issue
Block a user