They were lost if the app would crash on exit...
Details
Details
changing a calendar color and watching ~/.config/eventviewsrc be updated immediately
Diff Detail
Diff Detail
- Repository
- R210 KOrganizer
- Branch
- Applications/17.08
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
What happens if the user sets the color back to default? We wouldn't get past line 760, and disableColor() wouldn't be called, so the color would not be saved immediately, right?
Comment Actions
If you want to set it back to default, you call disableColor().
myColor.isValid() is about checking for "cancel" in the color dialog, and myColor != defaultColor is about not making any change if the user selected the same color again (no-op). I don't see how assignColor() can ever have the meaning of "setting the color back to default".