mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-01-31 00:48:41 +03:00
Update SelectMachine.cpp
This commit is contained in:
@@ -1278,7 +1278,7 @@ SelectMachineDialog::SelectMachineDialog(Plater *plater, wxString title)
|
|||||||
});
|
});
|
||||||
|
|
||||||
//w42
|
//w42
|
||||||
m_comboBox_printer->Bind(wxEVT_COMBOBOX, [this](wxCommandEvent& evt) {
|
/*m_comboBox_printer->Bind(wxEVT_COMBOBOX, [this](wxCommandEvent& evt) {
|
||||||
wxString selected = evt.GetString();
|
wxString selected = evt.GetString();
|
||||||
MachineObject* selected_machine = nullptr;
|
MachineObject* selected_machine = nullptr;
|
||||||
if (!m_isNetMode) {
|
if (!m_isNetMode) {
|
||||||
@@ -1301,7 +1301,7 @@ SelectMachineDialog::SelectMachineDialog(Plater *plater, wxString title)
|
|||||||
}
|
}
|
||||||
m_sizer_main->Layout();
|
m_sizer_main->Layout();
|
||||||
evt.Skip();
|
evt.Skip();
|
||||||
});
|
});*/
|
||||||
|
|
||||||
m_isSwitch = new wxCheckBox(switch_button_panel, wxID_ANY, _L("Switch to Device tab"), wxDefaultPosition);
|
m_isSwitch = new wxCheckBox(switch_button_panel, wxID_ANY, _L("Switch to Device tab"), wxDefaultPosition);
|
||||||
m_isSwitch->SetValue((wxGetApp().app_config->get("switch to device tab after upload") == "true") ? true : false);
|
m_isSwitch->SetValue((wxGetApp().app_config->get("switch to device tab after upload") == "true") ? true : false);
|
||||||
|
|||||||
Reference in New Issue
Block a user