Skip to content

Commit

Permalink
Merge pull request #846 from cjee21/text-view
Browse files Browse the repository at this point in the history
Windows GUI: Fix text view strings
  • Loading branch information
JeromeMartinez authored May 28, 2024
2 parents 4324bea + 68dac0e commit 42b1d87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/GUI/VCL/GUI_Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,9 @@ void __fastcall TMainF::Refresh(TTabSheet *Page)
if (!Prefs->Config(__T("InformTimestamp")).empty())
I->Option_Static(__T("Inform_Timestamp"), Prefs->Config(__T("InformTimestamp")));

//Set language again to ensure proper display in case it was changed to XML etc.
I->Option_Static(__T("Language"), Prefs->Details[Prefs_Language].Read());

Page_Text_Text->Text=I->Inform().c_str();

//Specific in case of no file
Expand Down

0 comments on commit 42b1d87

Please sign in to comment.