LoggerWindow toggle button fix. Closes #3152.
Merge remote-tracking branch 'ivan/bug/3152_logger-window-toggle-fix' into develop