mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-15 17:12:36 +02:00
Merge branch 'tryphon-rdlogedit-editlog-insertattheend'
This commit is contained in:
commit
4a35111088
@ -14502,3 +14502,7 @@
|
||||
* Applied a patch from albanpeignier that adds a 'Clone' button
|
||||
to the 'Edit Clock' dialog in 'rdlogmanager/edit_clock.cpp' and
|
||||
'rdlogmanager/edit_clock.h' [GitHub pull request #000030].
|
||||
2014-09-24 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Applied a patch from albanpeignier for RDLogEdit that appends
|
||||
a new cart to a log if 'Add' is touch with no long line highlighted
|
||||
[GitHub pull request #000031.
|
||||
|
@ -686,13 +686,12 @@ void EditLog::insertCartButtonData()
|
||||
int id;
|
||||
|
||||
QListViewItem *item=SingleSelection();
|
||||
if(item==NULL) {
|
||||
return;
|
||||
if(item==NULL || (line=item->text(13).toInt())<0) {
|
||||
line=edit_log_event->size();
|
||||
id=END_MARKER_ID;
|
||||
} else {
|
||||
id=item->text(12).toInt();
|
||||
}
|
||||
if((line=item->text(13).toInt())<0) {
|
||||
line=0;
|
||||
}
|
||||
id=item->text(12).toInt();
|
||||
edit_log_event->insert(line,1);
|
||||
edit_log_event->logLine(line)->setTransType(edit_default_trans);
|
||||
edit_log_event->logLine(line)->setFadeupGain(-3000);
|
||||
|
Loading…
x
Reference in New Issue
Block a user