Main window: fix doc opening

Signed-off-by: Jerome Flesch <jflesch@gmail.com>