Main window: fix scan end

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Merge branch 'testing' of github.com:jflesch/paperwork into testing