mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
FIX: destory timers & check webview consist
Change-Id: If95a973e1b3c6bf0da3611c30e0e44e191c9b06a
This commit is contained in:
parent
cd3a721f86
commit
7be639019e
8 changed files with 19 additions and 10 deletions
|
@ -398,8 +398,11 @@ void WebViewPanel::OnClose(wxCloseEvent& evt)
|
|||
this->Hide();
|
||||
}
|
||||
|
||||
void WebViewPanel::OnFreshLoginStatus(wxTimerEvent &event) {
|
||||
Slic3r::GUI::wxGetApp().get_login_info();
|
||||
void WebViewPanel::OnFreshLoginStatus(wxTimerEvent &event)
|
||||
{
|
||||
auto mainframe = Slic3r::GUI::wxGetApp().mainframe;
|
||||
if (mainframe && mainframe->m_webview == this)
|
||||
Slic3r::GUI::wxGetApp().get_login_info();
|
||||
}
|
||||
|
||||
void WebViewPanel::SendRecentList(wxString const &sequence_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue