They each do slightly different things Workspace chooser: https://invent.kde.org/graphics/krita/-/blob/aebd23117d7772b583e18def74e89d5b74536040/libs/ui/widgets/kis_workspace_chooser.cpp#L129 Workspace menu: https://invent.kde.org/graphics/krita/-/blob/aebd23117d7772b583e18def74e89d5b74536040/libs/ui/KisMainWindow.cpp#L2559
Git commit 0b2b592441fc822c34c5ace8d5fae8fe624b6381 by Halla Rempt. Committed on 08/03/2022 at 14:23. Pushed by rempt into branch 'krita/5.0'. Synchronize the two places where we save a new workspace. I don't see a way to actually not duplicate the code, though. M +3 -6 libs/ui/KisMainWindow.cpp M +2 -2 libs/ui/widgets/kis_workspace_chooser.cpp https://invent.kde.org/graphics/krita/commit/0b2b592441fc822c34c5ace8d5fae8fe624b6381
Git commit b8ebef709c09b80662d044df6654ea77e7326687 by Halla Rempt. Committed on 08/03/2022 at 14:37. Pushed by rempt into branch 'master'. Synchronize the two places where we save a new workspace. I don't see a way to actually not duplicate the code, though. (cherry picked from commit 0b2b592441fc822c34c5ace8d5fae8fe624b6381) M +3 -6 libs/ui/KisMainWindow.cpp M +2 -2 libs/ui/widgets/kis_workspace_chooser.cpp https://invent.kde.org/graphics/krita/commit/b8ebef709c09b80662d044df6654ea77e7326687