dont close unnamed windows

This commit is contained in:
vaxerski 2021-12-25 12:09:17 +01:00
parent 7ce5864a81
commit 9460139071
1 changed files with 1 additions and 2 deletions

View File

@ -1894,8 +1894,7 @@ void CWindowManager::doPostCreationChecks(CWindow* pWindow) {
// Check if it has a name
const auto NAME = getClassName(window);
if (NAME.first == "Error" && NAME.second == "Error") {
closeWindowAllChecks(window);
Debug::log(WARN, "Window created but has a class of NULL. Removing.");
Debug::log(WARN, "Window created but has a class of NULL?");
}
Debug::log(LOG, "Post creation checks ended");