FIX:fixed incorrect layout without AMS

jira:[none ]

Change-Id: I7cda157a149b89820b7936eb058a7ad8058d9e4b
(cherry picked from commit 5550b96305086684084cf538656e9bfada14f164)
(cherry picked from commit d1932d8c982c54fe8796d097464b0805db241a13)
This commit is contained in:
tao wang
2024-12-11 17:13:17 +08:00
committed by Noisyfox
parent 5be8b62cd4
commit 44e09c2fea
3 changed files with 22 additions and 14 deletions

View File

@@ -996,6 +996,11 @@ void AMSControl::show_auto_refill(bool show)
m_amswin->Fit();
}
void AMSControl::enable_ams_setting(bool en)
{
m_button_ams_setting->Enable(en);
}
void AMSControl::show_vams(bool show)
{
m_panel_virtual->Show(show);