When you switch module with unsaved changes the other modes prompt if
you want to save the changes. Sidebar mode did not.
BUG: 392160
broulik |
Plasma |
When you switch module with unsaved changes the other modes prompt if
you want to save the changes. Sidebar mode did not.
BUG: 392160
Made a change, clicked another module. Got a prompt.
Clicked apply, it applied then changed
Tried again
Clicked cancel, it didn't change
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
The current index or highlighted item in the sidebar still changes if you Cancel in the prompt as that's done from QML
Also fixes the UI on cancel
Checkable property would be updated internally on clicked, breaking our binding and
becoming checked on clicked regardless
The background color is set by if (checked || highlighted) so we can use that instead
Remove debug
stupid arc. Spend ages selectively choosing the hunks I want, and then it goes and adds them
back anyway to "help".
Remove debug
stupid arc. Spend ages selectively choosing the hunks I want, and then it goes and adds them
back anyway to "help".