#include "DNXMLElement.h"
#include "DNUtils.h"
#include "dccontainersaver.h"
+#include "uieditor/dcuieditor.h"
+#include "propertyeditor/dcpropertyeditor.h"
#include <stdlib.h>
#include <sstream>
return true;
}
- //TODO May better to check property.xml and ui pages as well.
+ if (DCPropertyEditor::getEditor()->isVisible())
+ DCPropertyEditor::getEditor()->close();
+
+ if (DCUIEditor::getEditor()->isVisible())
+ DCUIEditor::getEditor()->close();
return false;
}