Skip to content

Commit

Permalink
Plugins dialog: make the value of all our fields selectable (#1444).
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Oct 20, 2017
1 parent 5db817c commit 4836031
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/pluginsdialog.cpp
Expand Up @@ -116,6 +116,13 @@ PluginsDialog::PluginsDialog(QSettings *pSettings,

mGui->noteLabel->setText(mGui->noteLabel->text().arg(qAppName()));

// Make the value of all our fields selectable

mGui->fieldOneValue->setTextInteractionFlags(Qt::TextSelectableByMouse|Qt::LinksAccessibleByMouse);
mGui->fieldTwoValue->setTextInteractionFlags(Qt::TextSelectableByMouse|Qt::LinksAccessibleByMouse);
mGui->fieldThreeValue->setTextInteractionFlags(Qt::TextSelectableByMouse|Qt::LinksAccessibleByMouse);
mGui->fieldFourValue->setTextInteractionFlags(Qt::TextSelectableByMouse|Qt::LinksAccessibleByMouse);

// Set up the tree view widget with a delegate, so that we can select
// plugins that are shown as 'disabled' (to reflect the fact that users
// cannot decide whether they should be loaded)
Expand Down

0 comments on commit 4836031

Please sign in to comment.