Browse Source

ENH: single click can start editing cache values.

Clinton Stimpson 18 years ago
parent
commit
1d2b5ed440
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/QtDialog/QCMakeCacheView.cxx

+ 2 - 0
Source/QtDialog/QCMakeCacheView.cxx

@@ -53,6 +53,8 @@ QCMakeCacheView::QCMakeCacheView(QWidget* p)
   // 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;