diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2015-06-08 13:22:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-06-08 13:59:11 (GMT) |
commit | d9b974b18ebad4bd84f40e7cebe01725f081bd5e (patch) | |
tree | dfe477fa566609a175423cdbea3e838bc6b6e8ec /Source | |
parent | e462ef74e55f2c4c1169797d4916f8076a927485 (diff) | |
download | CMake-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.cxx | 1 |
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())); |