Skip to content

Commit

Permalink
Change upper poll expiry notification limit to 168 hours (7 days).
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescowens committed Dec 10, 2023
1 parent ef559d6 commit adaa443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/qt/forms/optionsdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@
<item>
<widget class="QValidatedLineEdit" name="pollExpireNotifyLineEdit">
<property name="toolTip">
<string>Valid values are between 0.25 and 24.0 hours.</string>
<string>Valid values are between 0.25 and 168.0 hours.</string>
</property>
</widget>
</item>
Expand Down
2 changes: 1 addition & 1 deletion src/qt/optionsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ bool OptionsDialog::eventFilter(QObject *object, QEvent *event)
if (!ok) {
emit pollExpireNotifyValid(ui->pollExpireNotifyLineEdit, false);
} else {
if (hours >= 0.25 && hours <= 24.0) {
if (hours >= 0.25 && hours <= 24.0 * 7.0) {
emit pollExpireNotifyValid(ui->pollExpireNotifyLineEdit, true);
} else {
emit pollExpireNotifyValid(ui->pollExpireNotifyLineEdit, false);
Expand Down

0 comments on commit adaa443

Please sign in to comment.