src/dialogs.cpp

changeset 270
f5f2353af0d9
parent 262
56f8987f4c7c
child 274
d232fe4d88a6
--- a/src/dialogs.cpp	Sat Jun 01 22:01:27 2013 +0300
+++ b/src/dialogs.cpp	Sat Jun 01 22:42:52 2013 +0300
@@ -243,7 +243,7 @@
 }
 
 void SetContentsDialog::setObject (LDObject* obj) {
-	le_contents->setText (obj->getContents ().chars());
+	le_contents->setText (obj->raw ().chars());
 	
 	if (obj->getType() == LDObject::Gibberish) {
 		lb_error->setText (fmt ("<span style=\"color: #900\">%s</span>",
@@ -356,9 +356,9 @@
 	lb_brickIcon = new QLabel;
 	lb_brickIcon->setPixmap (getIcon ("brick"));
 	
-	lb_name = new QLabel ("Name:");
+	lb_name = new QLabel ("Title:");
 	le_name = new QLineEdit;
-	le_name->setMinimumWidth (320);
+	le_name->setMinimumWidth (384);
 	
 	lb_author = new QLabel ("Author:");
 	le_author = new QLineEdit;

mercurial