mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Refactoring
This commit is contained in:
parent
1c1a6b933a
commit
8a824bb8c2
5 changed files with 6 additions and 6 deletions
|
@ -3778,7 +3778,7 @@ void GLCanvas3D::set_tooltip(const std::string& tooltip) const
|
|||
if (m_canvas != nullptr)
|
||||
{
|
||||
#if ENABLE_CANVAS_TOOLTIP_USING_IMGUI
|
||||
m_tooltip.set_text(std::string((_(L(tooltip))).ToUTF8()));
|
||||
m_tooltip.set_text(tooltip);
|
||||
#else
|
||||
wxString txt = wxString::FromUTF8(tooltip.data());
|
||||
if (m_canvas->GetToolTipText() != txt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue