mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-18 10:55:52 +08:00
FIX: not show device page when switch printer preset
Change-Id: I00d8524625a4682b6a39876ddb66bf8bd928dbef Jira: none
This commit is contained in:
parent
0149d24437
commit
28b71cecbb
@ -1150,8 +1150,8 @@ void MainFrame::show_device(bool bBBLPrinter) {
|
||||
}
|
||||
if (bBBLPrinter) {
|
||||
if (m_tabpanel->GetPage(tpMonitor) != m_monitor) {
|
||||
m_printer_view->Hide();
|
||||
m_monitor->Show(true);
|
||||
m_printer_view->Show(false);
|
||||
m_monitor->Show(false);
|
||||
m_tabpanel->RemovePage(tpMonitor);
|
||||
m_tabpanel->InsertPage(tpMonitor, m_monitor, _L("Device"),
|
||||
std::string("tab_monitor_active"),
|
||||
@ -1159,7 +1159,7 @@ void MainFrame::show_device(bool bBBLPrinter) {
|
||||
}
|
||||
} else {
|
||||
if (m_tabpanel->GetPage(tpMonitor) != m_printer_view) {
|
||||
m_printer_view->Show();
|
||||
m_printer_view->Show(false);
|
||||
m_monitor->Show(false);
|
||||
m_tabpanel->RemovePage(tpMonitor);
|
||||
m_tabpanel->InsertPage(tpMonitor, m_printer_view, _L("Device"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user