[RAPPS] Speed up installed application loading

Only load in details when we are going to display them
This commit is contained in:
Mark Jansen 2021-10-03 20:35:13 +02:00
parent 0ed04e3640
commit 143b2a5035
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
7 changed files with 149 additions and 180 deletions

View file

@ -398,6 +398,8 @@ BOOL CAppRichEdit::ShowInstalledAppInfo(CInstalledApplicationInfo *Info)
SetText(Info->szDisplayName, CFE_BOLD);
InsertText(L"\n", 0);
Info->EnsureDetailsLoaded();
InsertTextWithString(IDS_INFO_VERSION, CFE_BOLD, Info->szDisplayVersion, 0);
InsertTextWithString(IDS_INFO_PUBLISHER, CFE_BOLD, Info->szPublisher, 0);
InsertTextWithString(IDS_INFO_REGOWNER, CFE_BOLD, Info->szRegOwner, 0);