mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-28 17:03:12 +08:00
FIX: do not popup for AMS1
jira: [STUDIO-12083] Change-Id: Id2297576fa2b520282d8e4ce9af8e47817fc7088
This commit is contained in:
parent
7c8bc3782f
commit
8d29e09c1b
@ -2800,6 +2800,10 @@ AMSHumidity::AMSHumidity(wxWindow* parent, wxWindowID id, AMSinfo info, const wx
|
||||
|
||||
Bind(wxEVT_LEFT_UP, [this](wxMouseEvent& e) {
|
||||
if (m_show_humidity) {
|
||||
if (m_amsinfo.ams_type == AMSModel::GENERIC_AMS) {
|
||||
return;/*STUDIO-12083*/
|
||||
}
|
||||
|
||||
auto mouse_pos = ClientToScreen(e.GetPosition());
|
||||
auto rect = ClientToScreen(wxPoint(0, 0));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user