Enable preferences Apply button when ip banlist is modified

This commit is contained in:
Thomas Piccirello 2017-10-10 01:20:03 -04:00
parent 95bf63330e
commit da0db92b9f
2 changed files with 7 additions and 3 deletions

View file

@ -1732,8 +1732,9 @@ bool OptionsDialog::webUIAuthenticationOk()
void OptionsDialog::on_banListButton_clicked()
{
// have to call dialog window
BanListOptions(this).exec();
// call dialog window
if (BanListOptions(this).exec() == QDialog::Accepted)
enableApplyButton();
}
void OptionsDialog::on_IPSubnetWhitelistButton_clicked()