mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 16:11:12 +02:00
2022-02-28 Fred Gleason <fredg@paravelsystems.com>
* Updated 'RDCartDialog' to eliminate superfluous SQL filter updates. * Updated 'RDCutDialog' to eliminate superfluous SQL filter updates. * Updated rdlibrary(1) to eliminate superfluous SQL filter updates. * Updated rdlogedit(1) to eliminate superfluous SQL filter updates. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -111,6 +111,9 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
|
||||
//
|
||||
// Dialogs
|
||||
//
|
||||
log_edit_dialog=
|
||||
new EditLog(&log_filter,&log_group,&log_schedcode,&log_clipboard,this);
|
||||
|
||||
log_tracker_dialog=new VoiceTracker(&log_import_path,this);
|
||||
|
||||
//
|
||||
@@ -268,11 +271,7 @@ void MainWidget::addData()
|
||||
}
|
||||
LockList();
|
||||
SendNotification(RDNotification::AddAction,logname);
|
||||
EditLog *editlog=new EditLog(logname,&log_filter,&log_group,&log_schedcode,
|
||||
&log_clipboard,&newlogs,this);
|
||||
editlog->exec();
|
||||
delete editlog;
|
||||
|
||||
log_edit_dialog->exec(logname,&newlogs);
|
||||
row=log_log_model->addLog(logname);
|
||||
log_log_view->selectRow(row.row());
|
||||
UnlockList();
|
||||
@@ -290,14 +289,10 @@ void MainWidget::editData()
|
||||
QString logname=log_log_model->logName(row);
|
||||
QStringList newlogs;
|
||||
LockList();
|
||||
EditLog *log=
|
||||
new EditLog(logname,&log_filter,&log_group,&log_schedcode,
|
||||
&log_clipboard,&newlogs,this);
|
||||
if(log->exec()) {
|
||||
if(log_edit_dialog->exec(logname,&newlogs)) {
|
||||
log_log_model->refresh(row);
|
||||
}
|
||||
UnlockList();
|
||||
delete log;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user