fix restore main window state regression

A regression was introduced by 982b28831c708632b25428958e8d24cae89adc03
causing the main window to always be hidden when launching with the '-r'
option to restore the previous window state (visible or hidden). This
patch fixes this bug.

Change-Id: I16ef616eb53b76db39ddf953f3cc395ec5e89d7d
Tuleap: #370
1 file changed