mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-29 07:02:34 +02:00
2018-01-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that broke highlighting of evergreen cuts.
This commit is contained in:
parent
7453013656
commit
6db1e6ca5e
@ -16559,3 +16559,5 @@
|
||||
* Fixed races in creation of new carts.
|
||||
2018-01-05 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed bugs that broke the build under Windows.
|
||||
2018-01-08 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug that broke highlighting of evergreen cuts.
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Validate a Rivendell Audio Cut
|
||||
//
|
||||
// (C) Copyright 2006,2016 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2006,2016-2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@ -68,7 +68,7 @@ RDCart::Validity ValidateCut(RDSqlQuery *q,unsigned offset,
|
||||
if(q->value(offset).toInt()==0) { // Length
|
||||
return prev_validity;
|
||||
}
|
||||
if(q->value(offset+1+2).toString()=="Y") { // Evergreen
|
||||
if(q->value(offset+1).toString()=="Y") { // Evergreen
|
||||
return RDCart::EvergreenValid;
|
||||
}
|
||||
if(q->value(offset+5+datetime.date().dayOfWeek()).toString()!="Y") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user