Merge pull request #658 from simons-public/select-fingerprint

Allow selecting Fingerprint Qlabel
This commit is contained in:
Dom Rodriguez 2020-05-07 15:20:39 +01:00 committed by GitHub
commit 2d2e92989c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -956,6 +956,7 @@ void MainWindow::updateSSLFingerprint()
} }
if (m_AppConfig->getCryptoEnabled() && Fingerprint::local().fileExists()) { if (m_AppConfig->getCryptoEnabled() && Fingerprint::local().fileExists()) {
m_pLabelLocalFingerprint->setText(Fingerprint::local().readFirst()); m_pLabelLocalFingerprint->setText(Fingerprint::local().readFirst());
m_pLabelLocalFingerprint->setTextInteractionFlags(Qt::TextSelectableByMouse);
} else { } else {
m_pLabelLocalFingerprint->setText("Disabled"); m_pLabelLocalFingerprint->setText("Disabled");
} }