mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 18:55:59 +08:00
Fix of #1768
This commit is contained in:
parent
7662fa9a5b
commit
f0cee79170
@ -5810,7 +5810,7 @@ void GLCanvas3D::set_tooltip(const std::string& tooltip) const
|
|||||||
else
|
else
|
||||||
t->SetTip(tooltip);
|
t->SetTip(tooltip);
|
||||||
}
|
}
|
||||||
else
|
else if (!tooltip.empty()) // Avoid "empty" tooltips => unset of the empty tooltip leads to application crash under OSX
|
||||||
m_canvas->SetToolTip(tooltip);
|
m_canvas->SetToolTip(tooltip);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user