FIX:fixed macos overwriting title bar text colors

Change-Id: I617c27eebee47f6739532a02038359829245df27
This commit is contained in:
tao wang 2022-08-04 17:16:37 +08:00 committed by Lane.Wei
parent 1e857a6e23
commit b03a93d7fc
5 changed files with 19 additions and 3 deletions

View file

@ -5588,6 +5588,7 @@ void Plater::priv::set_project_name(const wxString& project_name)
wxGetApp().mainframe->topbar()->SetTitle(m_project_name);
#else
wxGetApp().mainframe->SetTitle(m_project_name);
wxGetApp().mainframe->update_title_colour_after_set_title();
#endif
}