mirror of
https://github.com/LMMS/lmms.git
synced 2026-04-04 14:23:27 -04:00
Ensuring playback is halted once file selection is confirmed in 'Open project' dialog; fixes #1384
This commit is contained in:
@@ -767,6 +767,8 @@ void MainWindow::openProject()
|
||||
if( ofd.exec () == QDialog::Accepted &&
|
||||
!ofd.selectedFiles().isEmpty() )
|
||||
{
|
||||
Engine::getSong()->stop();
|
||||
|
||||
setCursor( Qt::WaitCursor );
|
||||
Engine::getSong()->loadProject(
|
||||
ofd.selectedFiles()[0] );
|
||||
|
||||
Reference in New Issue
Block a user