Bug 446985

Summary: Workspace chooser and workspace menu has different code paths for saving workspace
Product: [Applications] krita Reporter: Alvin Wong <alvin>
Component: Resource ManagementAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:

Comment 1 Halla Rempt 2022-03-08 14:24:36 UTC
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
Comment 2 Halla Rempt 2022-03-08 14:37:23 UTC
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