[apps/code] Fix console reloading that did not occur often enough

Scenario:
Write a script that prints "abc"
Open the console -> prints "abc"
Modify the script to print "ab"
Go back to the console -> "ab" not printed !
This commit is contained in:
Léa Saviot
2018-12-11 17:05:45 +01:00
committed by EmilieNumworks
parent 460c21801f
commit ce1cdaacc3
3 changed files with 3 additions and 8 deletions

View File

@@ -147,7 +147,7 @@ void MenuController::openConsoleWithScript(Script script) {
m_reloadConsoleWhenBecomingFirstResponder = true;
}
void MenuController::scriptContentEditionDidFinish(){
void MenuController::scriptContentEditionDidFinish() {
reloadConsole();
}