mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -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,7 +51,8 @@ void ImageSwitchButton::SetLabels(wxString const &lbl_on, wxString const &lbl_of
|
|||
labels[0] = lbl_on;
|
||||
labels[1] = lbl_off;
|
||||
auto fina_txt = GetValue() ? labels[0] : labels[1];
|
||||
SetToolTip(fina_txt);
|
||||
if (GetToolTipText() != fina_txt)
|
||||
SetToolTip(fina_txt);
|
||||
messureSize();
|
||||
Refresh();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue