Update BaseWidget.cpp

This commit is contained in:
Jérôme Leclercq 2021-03-30 10:12:55 +02:00
parent 48ab2a4b04
commit 02805aade3
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ namespace Ndk
{
if (entity.isEnabled)
{
entity.handle->Enable(show); //< This will override isEnabled
entity.handle->Enable(show); //< This will override isEnabled, so reset it next line
entity.isEnabled = true;
}
}