diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2007-11-13 17:53:10 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2007-11-13 17:53:10 (GMT) |
commit | 1d2b5ed44044d934c59b34a24ac76e8cda8120ab (patch) | |
tree | a907b8d75bc1e750cc3d3b93ed44087bb3869249 /Source/QtDialog/QCMakeCacheView.cxx | |
parent | 0516f8af361a8693d83ed025caac05c9ebe688b6 (diff) | |
download | CMake-1d2b5ed44044d934c59b34a24ac76e8cda8120ab.zip CMake-1d2b5ed44044d934c59b34a24ac76e8cda8120ab.tar.gz CMake-1d2b5ed44044d934c59b34a24ac76e8cda8120ab.tar.bz2 |
ENH: single click can start editing cache values.
Diffstat (limited to 'Source/QtDialog/QCMakeCacheView.cxx')
-rw-r--r-- | Source/QtDialog/QCMakeCacheView.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.cxx b/Source/QtDialog/QCMakeCacheView.cxx index 13a8012..d2ec0ec 100644 --- a/Source/QtDialog/QCMakeCacheView.cxx +++ b/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; |