mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-24 05:15:03 -07:00
FIX: do not popup for AMS1
jira: [STUDIO-12083] Change-Id: Id2297576fa2b520282d8e4ce9af8e47817fc7088 (cherry picked from commit 8d29e09c1b8c1b9598f869235e99038d48b1bffc)
This commit is contained in:
parent
043abb4389
commit
f62e9a71e2
1 changed files with 4 additions and 0 deletions
|
|
@ -1831,6 +1831,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…
Add table
Add a link
Reference in a new issue