mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
refs #649, further fixes and improvements
* call of non-virtual function in ctor * use getCopy * return number of merged models * change current simulator in model set loader (fixes infinite loop: change data -> signal -> change data).
This commit is contained in:
@@ -59,7 +59,8 @@ namespace BlackMisc
|
||||
{
|
||||
Q_ASSERT_X(simulator.isSingleSimulator(), Q_FUNC_INFO, "Only one simulator per loader");
|
||||
if (this->getSimulator() == simulator) { return; }
|
||||
this->m_caches.syncronizeCache(simulator); // also changes current simulator of caches
|
||||
this->m_caches.setCurrentSimulator(simulator);
|
||||
this->m_caches.syncronizeCurrentCache();
|
||||
emit simulatorChanged(simulator);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user