main_window: small fix for a variable name.