mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
FIX: [STUDIO-2562] tooltip splash on speed button
Change-Id: I29a9d5bde81b7ddca962568ddcd9298850d6ea3a
This commit is contained in:
parent
b5663b25c9
commit
c2e0c3d109
1 changed files with 2 additions and 1 deletions
|
@ -51,6 +51,7 @@ void ImageSwitchButton::SetLabels(wxString const &lbl_on, wxString const &lbl_of
|
||||||
labels[0] = lbl_on;
|
labels[0] = lbl_on;
|
||||||
labels[1] = lbl_off;
|
labels[1] = lbl_off;
|
||||||
auto fina_txt = GetValue() ? labels[0] : labels[1];
|
auto fina_txt = GetValue() ? labels[0] : labels[1];
|
||||||
|
if (GetToolTipText() != fina_txt)
|
||||||
SetToolTip(fina_txt);
|
SetToolTip(fina_txt);
|
||||||
messureSize();
|
messureSize();
|
||||||
Refresh();
|
Refresh();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue