Added 'bool stopPlayback' parameter to MainWindow::mayChangeProject() to preserve old behavior outside of 'Open project dialog' case; fixes #1384
This commit is contained in:
@@ -69,10 +69,12 @@ public:
|
||||
/// opens another file...) must call this before and may only proceed if
|
||||
/// this function returns true.
|
||||
///
|
||||
/// \param stopPlayback whether playback should be stopped upon prompting. If set to false, the caller should ensure that Engine::getSong()->stop() is called before unloading/loading a song.
|
||||
///
|
||||
/// \return true if the user allows the software to proceed, false if they
|
||||
/// cancel the action.
|
||||
///
|
||||
bool mayChangeProject();
|
||||
bool mayChangeProject(bool stopPlayback);
|
||||
|
||||
|
||||
void clearKeyModifiers();
|
||||
|
||||
Reference in New Issue
Block a user