mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
ENH: enable pop up when slice btn is disabled
1. Enable hover and pop up even if slice btn is disabled. Always trigger background process schedule jira: NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Ie9c63c952eeb0f8a7611dd9929e656360609d11a (cherry picked from commit 9340b4f89e3bd33f4f6d826118e90babe0ca694c)
This commit is contained in:
@@ -281,11 +281,12 @@ void FilamentGroupPopup::OnRadioBtn(int idx)
|
||||
{
|
||||
if (mode_list.at(idx) == FilamentMapMode::fmmAutoForMatch && !m_connected)
|
||||
return;
|
||||
m_mode = mode_list.at(idx);
|
||||
|
||||
SetFilamentMapMode(m_mode);
|
||||
|
||||
UpdateButtonStatus(m_mode);
|
||||
if (m_mode != mode_list.at(idx)) {
|
||||
m_mode = mode_list.at(idx);
|
||||
SetFilamentMapMode(m_mode);
|
||||
plater_ref->schedule_background_process();
|
||||
UpdateButtonStatus(m_mode);
|
||||
}
|
||||
}
|
||||
|
||||
void FilamentGroupPopup::OnTimer(wxTimerEvent &event) { Dismiss(); }
|
||||
|
||||
Reference in New Issue
Block a user