Changeset View
Changeset View
Standalone View
Standalone View
src/ViewManager.cpp
Context not available. | |||||
919 | if (sessionIterator != widgetJsonObject.constEnd()) { | 919 | if (sessionIterator != widgetJsonObject.constEnd()) { | ||
---|---|---|---|---|---|
920 | Session *session = SessionManager::instance()->idToSession(sessionIterator->toInt()); | 920 | Session *session = SessionManager::instance()->idToSession(sessionIterator->toInt()); | ||
921 | auto newView = manager->createView(session); | 921 | auto newView = manager->createView(session); | ||
922 | manager->activeContainer()->addView(newView); | ||||
922 | currentSplitter->addWidget(newView); | 923 | currentSplitter->addWidget(newView); | ||
923 | } else { | 924 | } else { | ||
924 | auto nextSplitter = restoreSessionsSplitterRecurse(widgetJsonObject, manager); | 925 | auto nextSplitter = restoreSessionsSplitterRecurse(widgetJsonObject, manager); | ||
Context not available. |