Fixed a crash on language changing

(DiffPresetDialog should get mainframe as a parent explicitly)
This commit is contained in:
YuSanka 2021-02-09 09:55:26 +01:00
parent 0b4720338f
commit e833e63c42
3 changed files with 5 additions and 3 deletions

View file

@ -116,6 +116,7 @@ DPIFrame(NULL, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_S
m_printhost_queue_dlg(new PrintHostQueueDialog(this))
, m_recent_projects(9)
, m_settings_dialog(this)
, diff_dialog(this)
{
// Fonts were created by the DPIFrame constructor for the monitor, on which the window opened.
wxGetApp().update_fonts(this);