mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Merge branch 'release_3.0.0dev' of github.com:/srhea/GoldenCheetah into release_3.0.0dev
This commit is contained in:
@@ -304,15 +304,15 @@ ManualRideDialog::enterClicked()
|
||||
{
|
||||
|
||||
if (!( ( BSentry->text().isEmpty() || BSentry->hasAcceptableInput() ) &&
|
||||
( DPentry->text().isEmpty() || DPentry->hasAcceptableInput() ) &&
|
||||
( HRentry->hasAcceptableInput() ) &&
|
||||
( distanceentry->text().isEmpty() || distanceentry->hasAcceptableInput() ) ) ) {
|
||||
( DPentry->text().isEmpty() || DPentry->hasAcceptableInput() ) &&
|
||||
( HRentry->text().isEmpty() || HRentry->hasAcceptableInput() ) &&
|
||||
( distanceentry->text().isEmpty() || distanceentry->hasAcceptableInput() ) ) ) {
|
||||
QMessageBox::warning( this,
|
||||
tr("Values out of range"),
|
||||
tr("The values you've entered in:\n ")
|
||||
+((!distanceentry->hasAcceptableInput() && !distanceentry->text().isEmpty() )
|
||||
? " Distance (max 9999)\n " : "")
|
||||
+((!HRentry->hasAcceptableInput())
|
||||
+((!HRentry->hasAcceptableInput() && !HRentry->text().isEmpty() )
|
||||
? " Average HR (30-199 bpm)\n " : "")
|
||||
+((!BSentry->hasAcceptableInput() && !BSentry->text().isEmpty() )
|
||||
? " BikeScore (max 9999)\n " : "")
|
||||
|
||||
Reference in New Issue
Block a user