diff --git a/src/slic3r/GUI/Widgets/DropDown.cpp b/src/slic3r/GUI/Widgets/DropDown.cpp index 4e4ee26ae8..fefd77e89e 100644 --- a/src/slic3r/GUI/Widgets/DropDown.cpp +++ b/src/slic3r/GUI/Widgets/DropDown.cpp @@ -300,6 +300,8 @@ void DropDown::render(wxDC &dc) if (!text_off && !text.IsEmpty()) { wxSize tSize = dc.GetMultiLineTextExtent(text); if (pt.x + tSize.x > rcContent.GetRight()) { + if (i == hover_item) + SetToolTip(text); text = wxControl::Ellipsize(text, dc, wxELLIPSIZE_END, rcContent.GetRight() - pt.x); } @@ -444,8 +446,7 @@ void DropDown::mouseMove(wxMouseEvent &event) if (hover >= (int) texts.size()) hover = -1; if (hover == hover_item) return; hover_item = hover; - if (hover >= 0) - SetToolTip(texts[hover]); + SetToolTip(""); } paintNow(); } diff --git a/src/slic3r/GUI/Widgets/WebView.cpp b/src/slic3r/GUI/Widgets/WebView.cpp index f14c837c28..6ecddd3e5b 100644 --- a/src/slic3r/GUI/Widgets/WebView.cpp +++ b/src/slic3r/GUI/Widgets/WebView.cpp @@ -81,6 +81,7 @@ public: profile->Release(); return true; } + webView2_13->Release(); } return false; }