mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Refactoring
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user