Qt: Fix log / log config window not being marked as hidden when closing

This commit is contained in:
spycrab
2017-09-20 13:18:36 +02:00
parent d1abd71ccb
commit 0b43e1bcf4
4 changed files with 18 additions and 0 deletions

View File

@ -196,3 +196,8 @@ void LogConfigWidget::SaveSettings()
LogManager::GetInstance()->SetEnable(type, enabled);
}
}
void LogConfigWidget::closeEvent(QCloseEvent*)
{
Settings::Instance().SetLogConfigVisible(false);
}