ENH: single click can start editing cache values.
This commit is contained in:
parent
0516f8af36
commit
1d2b5ed440
|
@ -54,6 +54,8 @@ QCMakeCacheView::QCMakeCacheView(QWidget* p)
|
||||||
QCMakeCacheModelDelegate* delegate = new QCMakeCacheModelDelegate(this);
|
QCMakeCacheModelDelegate* delegate = new QCMakeCacheModelDelegate(this);
|
||||||
this->setItemDelegate(delegate);
|
this->setItemDelegate(delegate);
|
||||||
|
|
||||||
|
this->setEditTriggers(QAbstractItemView::AllEditTriggers);
|
||||||
|
|
||||||
// set up headers and sizes
|
// set up headers and sizes
|
||||||
int h = 0;
|
int h = 0;
|
||||||
QFontMetrics met(this->font());
|
QFontMetrics met(this->font());
|
||||||
|
|
Loading…
Reference in New Issue