Commit f53a0795 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Gerrit: Avoid double refresh when opened for the first time

Change-Id: I05e50b22b6b368c655902b90585f770a332f53d3
Reviewed-by: default avatarAndré Hartmann <>
parent 1d57a7e5
......@@ -371,13 +371,14 @@ void GerritPlugin::openView()
connect(this, &GerritPlugin::fetchStarted, gd, &GerritDialog::fetchStarted);
connect(this, &GerritPlugin::fetchFinished, gd, &GerritDialog::fetchFinished);
m_dialog = gd;
} else {
const Qt::WindowStates state = m_dialog->windowState();
if (state & Qt::WindowMinimized)
m_dialog->setWindowState(state & ~Qt::WindowMinimized);
void GerritPlugin::push()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment