From eb27e21394aabe6dc21cd268cb62a023351fe53b Mon Sep 17 00:00:00 2001 From: WinstonMao Date: Thu, 13 Dec 2018 14:44:16 +0800 Subject: [PATCH] Update ApplicationController.cs Load TranslationMap before load hardware tabpage --- .../ApplicationView/ApplicationController.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/MatterControlLib/ApplicationView/ApplicationController.cs b/MatterControlLib/ApplicationView/ApplicationController.cs index f3fd900ca..3e434c3a3 100644 --- a/MatterControlLib/ApplicationView/ApplicationController.cs +++ b/MatterControlLib/ApplicationView/ApplicationController.cs @@ -3208,13 +3208,14 @@ If you experience adhesion problems, please re-run leveling." try { ReportStartupProgress(0.15, "MatterControlApplication.Initialize"); + + ApplicationController.LoadTranslationMap(); + var mainView = await Initialize(systemWindow, (progress0To1, status) => { ReportStartupProgress(0.2 + progress0To1 * 0.7, status); }); - - ApplicationController.LoadTranslationMap(); - + ReportStartupProgress(0.9, "AddChild->MainView"); systemWindow.AddChild(mainView, 0); @@ -3427,4 +3428,4 @@ If you experience adhesion problems, please re-run leveling." { } } -} \ No newline at end of file +}