Well, I'm fairly sure void MWindow::hide_vwindow() kinda wrong (because copypasta!) but it seems to work for single viewer window I wanted to hide via this menu.