Bug 450470

Summary: Settings -> Configure Umbrello: Improve predictability/reliability of saving to the resource file
Product: [Applications] umbrello Reporter: Oliver Kellogg <okellogg>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 2.33.80 (KDE releases 22.03.80)
Sentry Crash Report:

Description Oliver Kellogg 2022-02-17 15:47:27 UTC
SUMMARY
***
Settings -> Configure Umbrello:  Improve predictability/reliability of saving to the resource file
***


STEPS TO REPRODUCE
1. In main menubar select Settings -> Configure Umbrello UML Modeller
2. Change one or more settings
3. Press OK

OBSERVED RESULT
The file $HOME/.config/umbrellorc is not updated.

EXPECTED RESULT
The resource file should be updated immediately when OK is pressed in the Settings dialog.
Comment 1 Oliver Kellogg 2022-02-17 16:09:30 UTC
Git commit daf074a54aee59aa6ff3584d507ee35a945fbd08 by Oliver Kellogg.
Committed on 17/02/2022 at 16:08.
Pushed by okellogg into branch 'master'.

Fix "Settings -> Configure Umbrello: Improve predictability/reliability of saving to the resource file"

umbrello/dialogs/settingsdialog.cpp
- In function slotOk, after call to m_pOptionState->save() call
  UmbrelloSettings::self()->save().
FIXED-IN:2.33.80 (KDE releases 22.03.80)

M  +5    -0    umbrello/dialogs/settingsdialog.cpp

https://invent.kde.org/sdk/umbrello/commit/daf074a54aee59aa6ff3584d507ee35a945fbd08