File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -258,6 +258,9 @@ void OptionsDialog::showRestartWarning(bool fPersistent)
258
258
void OptionsDialog::clearStatusLabel ()
259
259
{
260
260
ui->statusLabel ->clear ();
261
+ if (model && model->isRestartRequired ()) {
262
+ showRestartWarning (true );
263
+ }
261
264
}
262
265
263
266
void OptionsDialog::updateProxyValidationState ()
@@ -267,7 +270,7 @@ void OptionsDialog::updateProxyValidationState()
267
270
if (pUiProxyIp->isValid () && (!ui->proxyPort ->isEnabled () || ui->proxyPort ->text ().toInt () > 0 ) && (!ui->proxyPortTor ->isEnabled () || ui->proxyPortTor ->text ().toInt () > 0 ))
268
271
{
269
272
setOkButtonState (otherProxyWidget->isValid ()); // only enable ok button if both proxys are valid
270
- ui-> statusLabel -> clear ();
273
+ clearStatusLabel ();
271
274
}
272
275
else
273
276
{
You can’t perform that action at this time.
0 commit comments