mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-25 16:58:04 +02:00
Fixed bug where cloning a clock line could cross hour boundary.
This commit is contained in:
parent
34ad7dac5c
commit
2e108ec3a1
@ -18369,3 +18369,6 @@
|
||||
notifications.
|
||||
2019-01-11 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Incremented the package version to 3.0.0alpha05.
|
||||
2019-01-13 Patrick Linstruth <patrick@deltecent.com>
|
||||
* Fixed a bug in RDLogManager that allowed cloned clock lines to pass
|
||||
hour mark.
|
||||
|
@ -350,6 +350,9 @@ void EditClock::cloneData()
|
||||
eventline.setName(selectedEventLine->name());
|
||||
eventline.setStartTime(selectedEventLine->startTime().addMSecs(selectedEventLine->length()));
|
||||
eventline.setLength(selectedEventLine->length());
|
||||
if(eventline.startTime().addMSecs(eventline.length()).hour()) {
|
||||
eventline.setLength(0);
|
||||
}
|
||||
|
||||
EditEventLine *edit_eventline=
|
||||
new EditEventLine(&eventline,edit_clock,-1,this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user