My comment #10 is wrong, your change is correct because initial_window_show is only called in your patch when "hide_on_startup" is true, I miss the impact of the other change. So, !ui->config->hide_on_startup is always false and can be removed.
My comment #10 is wrong, your change is correct because initial_window_show is only called in your patch when "hide_on_startup" is true, I miss the impact of the other change. So, !ui->config- >hide_on_ startup is always false and can be removed.