[cmake-commits] clinton committed QCMakeCacheView.cxx 1.18 1.19

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Nov 13 12:53:12 EST 2007


Update of /cvsroot/CMake/CMake/Source/QtDialog
In directory public:/mounts/ram/cvs-serv12635

Modified Files:
	QCMakeCacheView.cxx 
Log Message:
ENH:  single click can start editing cache values.


Index: QCMakeCacheView.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/QCMakeCacheView.cxx,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- QCMakeCacheView.cxx	13 Nov 2007 16:18:40 -0000	1.18
+++ QCMakeCacheView.cxx	13 Nov 2007 17:53:10 -0000	1.19
@@ -53,6 +53,8 @@
   // our delegate for creating our editors
   QCMakeCacheModelDelegate* delegate = new QCMakeCacheModelDelegate(this);
   this->setItemDelegate(delegate);
+  
+  this->setEditTriggers(QAbstractItemView::AllEditTriggers);
 
   // set up headers and sizes
   int h = 0;



More information about the Cmake-commits mailing list