Show log button state is inconsistent
Steps to reproduce:
- Click "show log"
- Close the logging window by hitting the Esc key or by closing the dialog
- The "show log" button is still pressed.
(from redmine: created on 2013-07-10, closed on 2013-07-12, duplicates #3075 (closed))