[DEBUG] can not create a widget with name

This commit is contained in:
Edouard DUPIN 2016-03-15 21:11:08 +01:00
parent 34357ed6eb
commit 2e4e1545ad

View File

@ -199,7 +199,7 @@ ewol::WidgetShared ewol::widget::Manager::create(const std::string& _name) {
bool ewol::widget::Manager::exist(const std::string& _name) {
std::string nameLower = etk::tolower(_name);
auto it = m_creatorList.find(nameLower);
if (it != m_creatorList.end()) {
if (it == m_creatorList.end()) {
return false;
}
return true;