mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 16:50:37 +08:00
FIX: [STUDIO-2562] tooltip splash on speed button
Change-Id: I29a9d5bde81b7ddca962568ddcd9298850d6ea3a
This commit is contained in:
parent
b5663b25c9
commit
c2e0c3d109
@ -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…
x
Reference in New Issue
Block a user