Fix panels not updating after selecting format

This commit is contained in:
JannisX11 2020-07-26 13:01:58 +02:00
parent 091faa09d2
commit af06289c05

View File

@ -135,10 +135,10 @@ function newProject(format, force) {
if (Format) {
Project.reset();
}
Modes.options.edit.select();
if (format instanceof ModelFormat) {
format.select();
}
Modes.options.edit.select();
Blockbench.dispatchEvent('new_project');
return true;
} else {