mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
fix: Welcome screen quick settings executing handler more than once
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
namespace hex {
|
||||
|
||||
static AutoReset<std::map<std::string, WorkspaceManager::Workspace>> s_workspaces;
|
||||
static decltype(s_workspaces)::Type::iterator s_currentWorkspace = s_workspaces->end();
|
||||
static decltype(s_workspaces)::Type::iterator s_previousWorkspace = s_workspaces->end();
|
||||
static decltype(s_workspaces)::Type::iterator s_workspaceToRemove = s_workspaces->end();
|
||||
static auto s_currentWorkspace = s_workspaces->end();
|
||||
static auto s_previousWorkspace = s_workspaces->end();
|
||||
static auto s_workspaceToRemove = s_workspaces->end();
|
||||
|
||||
void WorkspaceManager::createWorkspace(const std::string& name, const std::string &layout) {
|
||||
s_currentWorkspace = s_workspaces->insert_or_assign(name, Workspace {
|
||||
|
||||
Reference in New Issue
Block a user