Some minor cleaning up [ci skip].
Update the modified state of a file that has been modified through our QScintillaWidget.