mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 12:17:54 -06:00
FIX: [STUDIO-3329] show/hide thirdparty calibrate button
Change-Id: Ie5a7cd454b50617af8c8bf9c78fecc60386e4e9d (cherry picked from commit 1a98981f8b0a854f431d9430355b4fc5d2bb4fb1)
This commit is contained in:
parent
1b0cd88899
commit
2a24eb55b8
5 changed files with 38 additions and 10 deletions
|
@ -382,6 +382,15 @@ void BBLTopbar::SaveNormalRect()
|
|||
m_normalRect = m_frame->GetRect();
|
||||
}
|
||||
|
||||
void BBLTopbar::ShowCalibrationButton(bool show)
|
||||
{
|
||||
m_calib_item->GetSizerItem()->Show(show);
|
||||
m_sizer->Layout();
|
||||
if (!show)
|
||||
m_calib_item->GetSizerItem()->SetDimension({-1000, 0}, {0, 0});
|
||||
Refresh();
|
||||
}
|
||||
|
||||
void BBLTopbar::OnModelStoreClicked(wxAuiToolBarEvent& event)
|
||||
{
|
||||
//GUI::wxGetApp().load_url(wxString(wxGetApp().app_config->get_web_host_url() + MODEL_STORE_URL));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue