mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-25 03:42:05 +00:00
FIX: fix crash when close downloadingProgressDialog
Change-Id: Ie35bb83223d70d3d343f795bc449998a4df15500
This commit is contained in:
@@ -33,6 +33,7 @@ class DownloadProgressDialog : public DPIDialog
|
||||
{
|
||||
protected:
|
||||
bool Show(bool show) override;
|
||||
void on_close(wxCloseEvent& event);
|
||||
|
||||
public:
|
||||
DownloadProgressDialog(wxString title);
|
||||
@@ -42,7 +43,7 @@ public:
|
||||
void update_release_note(std::string release_note, std::string version);
|
||||
|
||||
std::shared_ptr<BBLStatusBarSend> m_status_bar;
|
||||
std::shared_ptr<UpgradeNetworkJob> m_upgrade_job;
|
||||
std::shared_ptr<UpgradeNetworkJob> m_upgrade_job { nullptr };
|
||||
wxPanel * m_panel_download;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user