summaryrefslogtreecommitdiff
path: root/src/desktop/Workspace.cpp
diff options
context:
space:
mode:
authorAgent00Ming <107314235+Agent00Ming@users.noreply.github.com>2024-04-24 11:07:22 -0400
committerGitHub <noreply@github.com>2024-04-24 16:07:22 +0100
commit81bb4eb2f6e385431dab0ae664bb59f35c8c069e (patch)
treed2328e4d22462dc440212b9c253d25cbe539091b /src/desktop/Workspace.cpp
parente5fa0007a5b3a86948582e6d7dab0073a309553a (diff)
workspace: Fix duplication of "special:" in special workspace name (#5729)
* Fix duplication of "special:" in special workspace name modified: src/desktop/Workspace.cpp * Track default special workspace name as special:special This is to fix the edge cases with the previous commit without breaking user configs. modified: src/helpers/MiscFunctions.cpp --------- Co-authored-by: Agent_00Ming <agent00ming9366@gmail.com>
Diffstat (limited to 'src/desktop/Workspace.cpp')
-rw-r--r--src/desktop/Workspace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/Workspace.cpp b/src/desktop/Workspace.cpp
index 7ab75fd5..e9b155a4 100644
--- a/src/desktop/Workspace.cpp
+++ b/src/desktop/Workspace.cpp
@@ -207,7 +207,7 @@ void CWorkspace::rememberPrevWorkspace(const PHLWORKSPACE& prev) {
std::string CWorkspace::getConfigName() {
if (m_bIsSpecialWorkspace) {
- return "special:" + m_szName;
+ return m_szName;
}
if (m_iID > 0)