UI: Emit graphWindowChanged() only when window created.

This commit is contained in:
Nodir Temirkhodjaev 2021-04-17 12:06:44 +03:00
parent 25f8f64d30
commit 3c9e88dc79

View File

@ -511,11 +511,11 @@ void FortManager::showGraphWindow()
{
if (!m_graphWindow) {
setupGraphWindow();
emit graphWindowChanged(true);
}
m_graphWindow->show();
emit graphWindowChanged(true);
}
void FortManager::closeGraphWindow(bool wasVisible)