summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2015-06-08 13:22:24 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-08 13:59:11 (GMT)
commitd9b974b18ebad4bd84f40e7cebe01725f081bd5e (patch)
treedfe477fa566609a175423cdbea3e838bc6b6e8ec /Source
parente462ef74e55f2c4c1169797d4916f8076a927485 (diff)
downloadCMake-d9b974b18ebad4bd84f40e7cebe01725f081bd5e.zip
CMake-d9b974b18ebad4bd84f40e7cebe01725f081bd5e.tar.gz
CMake-d9b974b18ebad4bd84f40e7cebe01725f081bd5e.tar.bz2
cmake-gui: Make command-line install help text selectable
This will allow users to cut-n-paste the instructions over to a command prompt.
Diffstat (limited to 'Source')
-rw-r--r--Source/QtDialog/CMakeSetupDialog.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx
index 426fa12..bc783a3 100644
--- a/Source/QtDialog/CMakeSetupDialog.cxx
+++ b/Source/QtDialog/CMakeSetupDialog.cxx
@@ -445,6 +445,7 @@ void CMakeSetupDialog::doInstallForCommandLine()
l->addWidget(lab);
lab->setText(msg);
lab->setWordWrap(false);
+ lab->setTextInteractionFlags(Qt::TextSelectableByMouse);
QDialogButtonBox* btns = new QDialogButtonBox(QDialogButtonBox::Ok,
Qt::Horizontal, &dialog);
QObject::connect(btns, SIGNAL(accepted()), &dialog, SLOT(accept()));