mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
BLOCKS: Ensure that the program loaded callback is called when program passed to setProgram is identical to what's already loaded
This commit is contained in:
parent
50be983db5
commit
fdcebfe6a2
1 changed files with 2 additions and 2 deletions
|
|
@ -271,8 +271,6 @@ public:
|
|||
return Result::ok();
|
||||
}
|
||||
|
||||
stopTimer();
|
||||
|
||||
{
|
||||
std::unique_ptr<Program> p (newProgram);
|
||||
|
||||
|
|
@ -284,6 +282,8 @@ public:
|
|||
std::swap (program, p);
|
||||
}
|
||||
|
||||
stopTimer();
|
||||
|
||||
programSize = 0;
|
||||
isProgramLoaded = shouldSaveProgramAsDefault = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue