mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 02:41:17 +00:00
fix: unit tests & unused variables
This commit is contained in:
@@ -81,7 +81,7 @@ CameraPopup::CameraPopup(wxWindow *parent)
|
||||
top_sizer->Add(m_text_liveview_retry, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT | wxALL, FromDIP(5));
|
||||
top_sizer->Add(m_switch_liveview_retry, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT | wxALL, FromDIP(5));
|
||||
|
||||
m_switch_liveview_retry->Bind(wxEVT_TOGGLEBUTTON, [this](wxCommandEvent &e) {
|
||||
m_switch_liveview_retry->Bind(wxEVT_TOGGLEBUTTON, [](wxCommandEvent &e) {
|
||||
wxGetApp().app_config->set("liveview", "auto_retry", e.IsChecked());
|
||||
e.Skip();
|
||||
});
|
||||
|
||||
@@ -1463,7 +1463,7 @@ wxBoxSizer *StatusBasePanel::create_monitoring_page()
|
||||
#if !BBL_RELEASE_TO_PUBLIC
|
||||
m_staticText_timelapse->Show();
|
||||
m_bmToggleBtn_timelapse->Show();
|
||||
m_bmToggleBtn_timelapse->Bind(wxEVT_TOGGLEBUTTON, [this](wxCommandEvent &e) {
|
||||
m_bmToggleBtn_timelapse->Bind(wxEVT_TOGGLEBUTTON, [](wxCommandEvent &e) {
|
||||
if (e.IsChecked())
|
||||
wxGetApp().getAgent()->start_subscribe("tunnel");
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user