UI: Traffic Graph: Open on startup for "Hide on close" option

This commit is contained in:
Nodir Temirkhodjaev 2024-01-10 17:25:35 +03:00
parent 13bd3d3523
commit c797c76b71

View File

@ -443,8 +443,12 @@ void FortManager::show()
windowManager->showHomeWindow();
}
if (iniUser.graphWindowVisible()) {
if (iniUser.graphWindowVisible() || iniUser.graphWindowHideOnClose()) {
windowManager->showGraphWindow();
if (!iniUser.graphWindowVisible()) {
windowManager->closeGraphWindow();
}
}
}