mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-19 17:11:15 +02:00
2024-08-26 Fred Gleason <fredg@paravelsystems.com>
* Modified the 'Select Log' dialog in the voice tracker in rdairplay(1) so as to retain previous service selection across invocations. * Modified the 'Podcast Item List' dialog in rdcastmanager(1) so as to retain previous service selection across invocations. * Modified the 'Edit Log Chain' dialog in rdlogedit(1) so as to retain previous user group selection across invocations. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit a Rivendell Log Chain Entry
|
||||
//
|
||||
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2024 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
|
||||
@@ -21,10 +21,8 @@
|
||||
#include <rdapplication.h>
|
||||
#include <rddb.h>
|
||||
#include <rdescape_string.h>
|
||||
#include <rdlist_logs.h>
|
||||
|
||||
#include <edit_chain.h>
|
||||
|
||||
#include "edit_chain.h"
|
||||
#include "globals.h"
|
||||
|
||||
EditChain::EditChain(QWidget *parent)
|
||||
@@ -32,6 +30,8 @@ EditChain::EditChain(QWidget *parent)
|
||||
{
|
||||
setWindowTitle("RDLogEdit - "+tr("Edit Log Chain"));
|
||||
|
||||
edit_listlogs_dialog=new RDListLogs(RDLogFilter::UserFilter,"RDLogEdit",this);
|
||||
|
||||
//
|
||||
// Fix the Window Size
|
||||
//
|
||||
@@ -92,15 +92,10 @@ void EditChain::selectLogData()
|
||||
{
|
||||
QString logname;
|
||||
|
||||
RDListLogs *d=
|
||||
new RDListLogs(&logname,RDLogFilter::UserFilter,"RDLogEdit",this);
|
||||
if(!d->exec()) {
|
||||
delete d;
|
||||
return;
|
||||
if(edit_listlogs_dialog->exec(&logname)) {
|
||||
edit_label_edit->setText(logname);
|
||||
labelChangedData(logname);
|
||||
}
|
||||
delete d;
|
||||
edit_label_edit->setText(logname);
|
||||
labelChangedData(logname);
|
||||
}
|
||||
|
||||
|
||||
|
@@ -22,6 +22,7 @@
|
||||
#define EDIT_CHAIN_H
|
||||
|
||||
#include <rddialog.h>
|
||||
#include <rdlist_logs.h>
|
||||
#include <rdlog_line.h>
|
||||
#include <rdtimeedit.h>
|
||||
|
||||
@@ -52,6 +53,7 @@ class EditChain : public EditEvent
|
||||
QLabel *edit_label_label;
|
||||
QLineEdit *edit_label_edit;
|
||||
QPushButton *edit_select_button;
|
||||
RDListLogs *edit_listlogs_dialog;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user