FIX: several small fixs

Change-Id: Iee10daeedae924fa829148841556e31eb5e9d225
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2022-11-10 11:22:21 +08:00 committed by Lane.Wei
parent 0dd5057b4d
commit bde96c1542
4 changed files with 10 additions and 4 deletions

View file

@ -145,7 +145,7 @@ bool DownloadProgressDialog::Show(bool show)
m_upgrade_job->set_event_handle(this);
m_status_bar->set_progress(0);
Bind(EVT_UPGRADE_NETWORK_SUCCESS, [this](wxCommandEvent& evt) {
m_status_bar->change_button_label(_L("Finish"));
m_status_bar->change_button_label(_L("Close"));
on_finish();
m_status_bar->set_cancel_callback_fina(
[this]() {