فهرست منبع

Improved debugging of layout creation by printing the content.

David Piuva 5 سال پیش
والد
کامیت
a0941229ce
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Source/DFPSR/gui/DsrWindow.cpp

+ 1 - 1
Source/DFPSR/gui/DsrWindow.cpp

@@ -113,7 +113,7 @@ void DsrWindow::loadInterfaceFromString(String layout) {
 	// Load a tree structure of visual components from text
 	this->mainPanel = std::dynamic_pointer_cast<VisualComponent>(createPersistentClassFromText(layout));
 	if (this->mainPanel.get() == nullptr) {
-		throwError(U"DsrWindow::loadInterfaceFromString: The window's root component could not be created!");
+		throwError(U"DsrWindow::loadInterfaceFromString: The window's root component could not be created!\n\nLayout:\n", layout, "\n");
 	}
 	this->applyLayout();
 }