mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
ENH: add action RETRY_PROBLEM_SOLVED
jira: [STUDIO-11634] Change-Id: I53d1f0cce4236b57101c65f90d05918f348ef508 (cherry picked from commit 51142db51c77d1b64e515b498220d84cbb9df5c7)
This commit is contained in:
@@ -1222,6 +1222,12 @@ void PrintErrorDialog::init_button_list()
|
||||
post_event(evt);
|
||||
e.Skip();
|
||||
});
|
||||
|
||||
init_button(RETRY_PROBLEM_SOLVED, _L("Retry (problem solved)"));
|
||||
m_button_list[RETRY_PROBLEM_SOLVED]->Bind(wxEVT_LEFT_DOWN, [this](wxMouseEvent &e) {
|
||||
post_event(wxCommandEvent(EVT_SECONDARY_CHECK_DONE));
|
||||
e.Skip();
|
||||
});
|
||||
}
|
||||
|
||||
PrintErrorDialog::~PrintErrorDialog()
|
||||
|
||||
Reference in New Issue
Block a user