mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-29 13:52:07 +00:00
FIX: update the extruder panel when object changed
jira: [STUDIO-10050] Change-Id: I4eb12f3cdecf2a099a9b0773c73a48a8aa3713b6 (cherry picked from commit ca85009945010d51adf28c1722bf62385cc5917e)
This commit is contained in:
@@ -57,11 +57,16 @@ public:
|
||||
bool switch_right{false};
|
||||
bool is_enable {true};
|
||||
|
||||
void* client_data = nullptr;/*MachineObject* in StatusPanel*/
|
||||
|
||||
public:
|
||||
void Enable();
|
||||
void Disable();
|
||||
bool IsEnabled(){return is_enable;};
|
||||
|
||||
void SetClientData(void* data) { client_data = data; };
|
||||
void* GetClientData() { return client_data; };
|
||||
|
||||
void SetAutoDisableWhenSwitch() { auto_disable_when_switch = true; };
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user