mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-04 22:31:02 +00:00
feat: faster startup by lazy-loading main window panels on idle or first use (#15811)
This commit is contained in:
@@ -3470,7 +3470,7 @@ void SelectMachineDialog::navigate_to_timelapse_page()
|
||||
main_frame->jump_to_monitor();
|
||||
|
||||
// then switch to Storage (Media) tab inside Monitor
|
||||
auto* monitor = dynamic_cast<MonitorPanel*>(main_frame->m_monitor);
|
||||
MonitorPanel* monitor = MonitorPanel::if_built();
|
||||
if (monitor) {
|
||||
auto* tabpanel = monitor->get_tabpanel();
|
||||
if (tabpanel) {
|
||||
|
||||
Reference in New Issue
Block a user