mirror of
https://github.com/86Box/86Box.git
synced 2026-02-24 02:18:20 -07:00
Manager: Improve machine load times by caching details labels
This commit is contained in:
@@ -263,6 +263,8 @@ VMManagerDetails::updateConfig(VMManagerSystem *passed_sysconfig)
|
||||
// * First you clear it with VMManagerDetailSection::clear()
|
||||
// * Then you add each line with VMManagerDetailSection::addSection()
|
||||
|
||||
setUpdatesEnabled(false);
|
||||
|
||||
// System
|
||||
systemSection->clear();
|
||||
systemSection->addSection("Machine", passed_sysconfig->getDisplayValue(VMManager::Display::Name::Machine));
|
||||
@@ -320,6 +322,8 @@ VMManagerDetails::updateConfig(VMManagerSystem *passed_sysconfig)
|
||||
inputSection->setSections();
|
||||
portsSection->setSections();
|
||||
otherSection->setSections();
|
||||
|
||||
setUpdatesEnabled(true);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user