mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
FIX:calibration&fixed sidetool not selectable
Change-Id: I51099e3bc89bb54ccac4ba9d2465bfabe77ae473
This commit is contained in:
@@ -112,7 +112,7 @@ AddMachinePanel::~AddMachinePanel() {
|
|||||||
|
|
||||||
init_timer();
|
init_timer();
|
||||||
|
|
||||||
m_side_tools->Connect(wxEVT_LEFT_DOWN, wxMouseEventHandler(MonitorPanel::on_printer_clicked), NULL, this);
|
m_side_tools->get_panel()->Connect(wxEVT_LEFT_DOWN, wxMouseEventHandler(MonitorPanel::on_printer_clicked), NULL, this);
|
||||||
|
|
||||||
Bind(wxEVT_TIMER, &MonitorPanel::on_timer, this);
|
Bind(wxEVT_TIMER, &MonitorPanel::on_timer, this);
|
||||||
Bind(wxEVT_SIZE, &MonitorPanel::on_size, this);
|
Bind(wxEVT_SIZE, &MonitorPanel::on_size, this);
|
||||||
@@ -125,7 +125,7 @@ AddMachinePanel::~AddMachinePanel() {
|
|||||||
|
|
||||||
MonitorPanel::~MonitorPanel()
|
MonitorPanel::~MonitorPanel()
|
||||||
{
|
{
|
||||||
m_side_tools->Disconnect(wxEVT_LEFT_DOWN, wxMouseEventHandler(MonitorPanel::on_printer_clicked), NULL, this);
|
m_side_tools->get_panel()->Disconnect(wxEVT_LEFT_DOWN, wxMouseEventHandler(MonitorPanel::on_printer_clicked), NULL, this);
|
||||||
|
|
||||||
if (m_refresh_timer)
|
if (m_refresh_timer)
|
||||||
m_refresh_timer->Stop();
|
m_refresh_timer->Stop();
|
||||||
|
|||||||
Reference in New Issue
Block a user