We can simply watch for changes to the settings, and keep track of their previous values. When undoing, we can pop the stack and restore a previous setting.
When changes to settings have been undone to the point where the settings are identical to the currently-selected revision, the Save & Publish button should turn to Saved as the dirty state would then be false.
We can simply watch for changes to the settings, and keep track of their previous values. When undoing, we can pop the stack and restore a previous setting.
When changes to settings have been undone to the point where the settings are identical to the currently-selected revision, the Save & Publish button should turn to Saved as the dirty state would then be false.
Related to #26.