mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 04:51:50 +08:00
FIX: [STUDIO-1094] windows task bar title
Change-Id: I99c943345013d97839178f36683d81979cf8e3f5
This commit is contained in:
parent
808a82300a
commit
ce818dd6d1
@ -6094,10 +6094,10 @@ void Plater::priv::set_project_name(const wxString& project_name)
|
|||||||
{
|
{
|
||||||
m_project_name = project_name;
|
m_project_name = project_name;
|
||||||
//update topbar title
|
//update topbar title
|
||||||
|
wxGetApp().mainframe->SetTitle(m_project_name);
|
||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
wxGetApp().mainframe->topbar()->SetTitle(m_project_name);
|
wxGetApp().mainframe->topbar()->SetTitle(m_project_name);
|
||||||
#else
|
#else
|
||||||
wxGetApp().mainframe->SetTitle(m_project_name);
|
|
||||||
if (!m_project_name.IsEmpty())
|
if (!m_project_name.IsEmpty())
|
||||||
wxGetApp().mainframe->update_title_colour_after_set_title();
|
wxGetApp().mainframe->update_title_colour_after_set_title();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user