#include #include #include #include namespace hex::plugin::builtin { void loadWorkspaces() { WorkspaceManager::reload(); auto currentWorkspace = ContentRegistry::Settings::read("hex.builtin.setting.general", "hex.builtin.setting.general.curr_workspace", "Default"); TaskManager::doLater([currentWorkspace] { WorkspaceManager::switchWorkspace(currentWorkspace); }); } }