fix: Workspaces not always loading layout correctly

This commit is contained in:
WerWolv
2023-12-12 00:16:21 +01:00
parent 690b0df932
commit 1b457dae7d
6 changed files with 32 additions and 33 deletions

View File

@@ -25,11 +25,13 @@ namespace hex {
static void reset();
static void process();
private:
WorkspaceManager() = default;
static std::map<std::string, WorkspaceManager::Workspace> s_workspaces;
static decltype(s_workspaces)::iterator s_currentWorkspace;
static decltype(s_workspaces)::iterator s_currentWorkspace, s_previousWorkspace;
};
}