feat: Show the TLS Enabled label no matter the selected mode
This commit is contained in:
parent
4f9494245f
commit
86ee88d17d
2 changed files with 11 additions and 14 deletions
|
|
@ -1011,7 +1011,7 @@ void MainWindow::updateLocalFingerprint()
|
|||
qFatal() << "failed to check if fingerprint exists";
|
||||
}
|
||||
|
||||
if (m_AppConfig.tlsEnabled() && fingerprintExists && ui->rbModeServer->isChecked()) {
|
||||
if (m_AppConfig.tlsEnabled() && fingerprintExists) {
|
||||
ui->lblMyFingerprint->setVisible(true);
|
||||
} else {
|
||||
ui->lblMyFingerprint->setVisible(false);
|
||||
|
|
|
|||
|
|
@ -89,6 +89,16 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="lblMyFingerprint">
|
||||
<property name="text">
|
||||
<string><html><head/><body><p>TLS enabled (<a href="#"><span style=" text-decoration: underline; color:#4285f4;">fingerprint</span></a>)</p></body></html></string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::TextFormat::RichText</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="m_pWidgetModes" native="true">
|
||||
<property name="sizePolicy">
|
||||
|
|
@ -245,19 +255,6 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="lblMyFingerprint">
|
||||
<property name="text">
|
||||
<string><html><head/><body><p>TLS enabled (<a href="#"><span style=" text-decoration: underline; color:#4285f4;">fingerprint</span></a>)</p></body></html></string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::TextFormat::RichText</enum>
|
||||
</property>
|
||||
<property name="indent">
|
||||
<number>20</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_2">
|
||||
<property name="orientation">
|
||||
|
|
|
|||
Loading…
Reference in a new issue