ENH: single click can start editing cache values.

This commit is contained in:
Clinton Stimpson 2007-11-13 12:53:10 -05:00
parent 0516f8af36
commit 1d2b5ed440
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ QCMakeCacheView::QCMakeCacheView(QWidget* p)
QCMakeCacheModelDelegate* delegate = new QCMakeCacheModelDelegate(this);
this->setItemDelegate(delegate);
this->setEditTriggers(QAbstractItemView::AllEditTriggers);
// set up headers and sizes
int h = 0;
QFontMetrics met(this->font());