Skip to content

Commit

Permalink
FIX: [STUDIO-1094] windows task bar title
Browse files Browse the repository at this point in the history
Change-Id: I99c943345013d97839178f36683d81979cf8e3f5
  • Loading branch information
bambu123 authored and lanewei120 committed Dec 15, 2022
1 parent 808a823 commit ce818dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slic3r/GUI/Plater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6094,10 +6094,10 @@ void Plater::priv::set_project_name(const wxString& project_name)
{
m_project_name = project_name;
//update topbar title
wxGetApp().mainframe->SetTitle(m_project_name);
#ifdef __WINDOWS__
wxGetApp().mainframe->topbar()->SetTitle(m_project_name);
#else
wxGetApp().mainframe->SetTitle(m_project_name);
if (!m_project_name.IsEmpty())
wxGetApp().mainframe->update_title_colour_after_set_title();
#endif
Expand Down

0 comments on commit ce818dd

Please sign in to comment.