mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
FIX:fixed crash after switching languages
Change-Id: I949b3bf99e0daefb5e3fac71c6df45e94b51608c
This commit is contained in:
parent
53ea77b67b
commit
e9ad8374bc
4 changed files with 10 additions and 3 deletions
|
@ -1405,7 +1405,7 @@ void SelectMachineDialog::init_bind()
|
|||
m_bitmap_next_plate->Bind(wxEVT_LEAVE_WINDOW, [this](auto& e) {SetCursor(wxCURSOR_ARROW); });
|
||||
|
||||
|
||||
wxGetApp().Bind(EVT_CONNECT_LAN_MODE_PRINT, [this](wxCommandEvent& e) {
|
||||
Bind(EVT_CONNECT_LAN_MODE_PRINT, [this](wxCommandEvent& e) {
|
||||
if (e.GetInt() == 0) {
|
||||
DeviceManager* dev = Slic3r::GUI::wxGetApp().getDeviceManager();
|
||||
if (!dev) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue