mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-10 07:20:23 -04:00
Shorten KeePassHTTP checkbox description and only enable settings when it's checked
This commit is contained in:
parent
5e664e3a06
commit
492e320628
2 changed files with 7 additions and 2 deletions
|
@ -30,6 +30,9 @@ OptionDialog::OptionDialog(QWidget *parent) :
|
||||||
m_ui->warningWidget->showMessage(tr("The following options can be dangerous!\nChange them only if you know what you are doing."), MessageWidget::Warning);
|
m_ui->warningWidget->showMessage(tr("The following options can be dangerous!\nChange them only if you know what you are doing."), MessageWidget::Warning);
|
||||||
m_ui->warningWidget->setIcon(FilePath::instance()->icon("status", "dialog-warning"));
|
m_ui->warningWidget->setIcon(FilePath::instance()->icon("status", "dialog-warning"));
|
||||||
m_ui->warningWidget->setCloseButtonVisible(false);
|
m_ui->warningWidget->setCloseButtonVisible(false);
|
||||||
|
|
||||||
|
m_ui->tabWidget->setEnabled(m_ui->enableHttpServer->isChecked());
|
||||||
|
connect(m_ui->enableHttpServer, SIGNAL(toggled(bool)), m_ui->tabWidget, SLOT(setEnabled(bool)));
|
||||||
}
|
}
|
||||||
|
|
||||||
OptionDialog::~OptionDialog()
|
OptionDialog::~OptionDialog()
|
||||||
|
|
|
@ -28,9 +28,11 @@
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="enableHttpServer">
|
<widget class="QCheckBox" name="enableHttpServer">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>This is required for accessing your databases from ChromeIPass or PassIFox</string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Enable KeepassXC HTTP protocol
|
<string>Enable KeePassHTTP server</string>
|
||||||
This is required for accessing your databases from ChromeIPass or PassIFox</string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue