diff widgets/PluginParameterDialog.cpp @ 460:5f9a257598d8

* Ensure text models are exported with text properties in RDF, and imported back into text models again (instead of time/value models)
author Chris Cannam
date Mon, 08 Dec 2008 11:53:10 +0000
parents 035d62c4cddf
children be5c35d3f409
line wrap: on
line diff
--- a/widgets/PluginParameterDialog.cpp	Mon Dec 08 11:15:13 2008 +0000
+++ b/widgets/PluginParameterDialog.cpp	Mon Dec 08 11:53:10 2008 +0000
@@ -249,6 +249,7 @@
     hbox->addWidget(bb);
     connect(bb, SIGNAL(accepted()), this, SLOT(dialogAccepted()));
     connect(bb, SIGNAL(rejected()), this, SLOT(reject()));
+    bb->button(QDialogButtonBox::Ok)->setDefault(true);
 
     setAdvancedVisible(m_advancedVisible);
 }
@@ -604,7 +605,7 @@
         m_advancedButton->setChecked(false);
     }
 
-    std::cerr << "resize to " << sizeHint().width() << " x " << sizeHint().height() << std::endl;
+//    std::cerr << "resize to " << sizeHint().width() << " x " << sizeHint().height() << std::endl;
 
 //    setMinimumHeight(sizeHint().height());
     adjustSize();