mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
Improved validation for ARRL RTTY RU and FD exchange fields
Validation in "Settings->Advanced" only applies if the specific special operations mode is enabled.
This commit is contained in:
parent
e01c4fb4b3
commit
d17efce7a1
@ -1781,7 +1781,7 @@ bool Configuration::impl::validate ()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ui_->rbField_Day-> isChecked () &&
|
||||
if (ui_->rbField_Day->isEnabled () && ui_->rbField_Day->isChecked () &&
|
||||
!ui_->Field_Day_Exchange->hasAcceptableInput ())
|
||||
{
|
||||
for (auto * parent = ui_->Field_Day_Exchange->parentWidget (); parent; parent = parent->parentWidget ())
|
||||
@ -1799,7 +1799,7 @@ bool Configuration::impl::validate ()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ui_->rbRTTY_Roundup-> isChecked () &&
|
||||
if (ui_->rbRTTY_Roundup->isEnabled () && ui_->rbRTTY_Roundup->isChecked () &&
|
||||
!ui_->RTTY_Exchange->hasAcceptableInput ())
|
||||
{
|
||||
for (auto * parent = ui_->RTTY_Exchange->parentWidget (); parent; parent = parent->parentWidget ())
|
||||
|
Loading…
Reference in New Issue
Block a user