Shorten KeePassHTTP checkbox description and only enable settings when it's checked
This commit is contained in:
@@ -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->setIcon(FilePath::instance()->icon("status", "dialog-warning"));
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user