mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
FIX:fixed some ui issues
Change-Id: I96f3e3ec56a07a7b5ca4723c92715df58e0baaf6
This commit is contained in:
@@ -854,8 +854,8 @@ UpgradePanel::~UpgradePanel()
|
||||
|
||||
void UpgradePanel::msw_rescale()
|
||||
{
|
||||
/*if (m_push_upgrade_panel)
|
||||
m_push_upgrade_panel->msw_rescale();*/
|
||||
if (m_push_upgrade_panel)
|
||||
m_push_upgrade_panel->msw_rescale();
|
||||
}
|
||||
|
||||
void UpgradePanel::clean_push_upgrade_panel()
|
||||
@@ -907,7 +907,7 @@ void UpgradePanel::update(MachineObject *obj)
|
||||
force_dlg->Bind(EVT_SECONDARY_CHECK_CONFIRM, [this](wxCommandEvent& e) {
|
||||
if (m_obj) {
|
||||
m_obj->command_upgrade_confirm();
|
||||
m_obj->upgrade_display_state == MachineObject::UpgradingDisplayState::UpgradingInProgress;
|
||||
m_obj->upgrade_display_state = MachineObject::UpgradingDisplayState::UpgradingInProgress;
|
||||
m_obj->upgrade_display_hold_count = HOLD_COUNT_MAX;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user