mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
FIX:calibration&fixed sidetool not selectable
Change-Id: I51099e3bc89bb54ccac4ba9d2465bfabe77ae473
This commit is contained in:
parent
8b42a8b7e9
commit
a21df32225
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue