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 @@ -277,6 +277,9 @@ void OptionsDialog::showRestartWarning(bool fPersistent)
277
277
void OptionsDialog::clearStatusLabel ()
278
278
{
279
279
ui->statusLabel ->clear ();
280
+ if (model && model->isRestartRequired ()) {
281
+ showRestartWarning (true );
282
+ }
280
283
}
281
284
282
285
void OptionsDialog::updateProxyValidationState ()
@@ -286,7 +289,7 @@ void OptionsDialog::updateProxyValidationState()
286
289
if (pUiProxyIp->isValid () && (!ui->proxyPort ->isEnabled () || ui->proxyPort ->text ().toInt () > 0 ) && (!ui->proxyPortTor ->isEnabled () || ui->proxyPortTor ->text ().toInt () > 0 ))
287
290
{
288
291
setOkButtonState (otherProxyWidget->isValid ()); // only enable ok button if both proxys are valid
289
- ui-> statusLabel -> clear ();
292
+ clearStatusLabel ();
290
293
}
291
294
else
292
295
{
You can’t perform that action at this time.
0 commit comments