mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-13 23:27:45 +02:00
2023-08-03 Fred Gleason <fredg@paravelsystems.com>
* Made the 'Script Path' control on the 'Edit PyPAD Instance' dialog in rdadmin(1) read-write. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
f732852b74
commit
9623099fd0
@ -24318,3 +24318,6 @@
|
||||
* Fixed a regression in rdlogmanager(1) that caused records to be
|
||||
omitted from reports using the 'CBSI DeltaFlex Traffic Reconciliation
|
||||
v2.01' export filter.
|
||||
2023-08-03 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Made the 'Script Path' control on the 'Edit PyPAD Instance' dialog
|
||||
in rdadmin(1) read-write.
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit a PyPAD Instance Configuration
|
||||
//
|
||||
// (C) Copyright 2018-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2018-2023 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
|
||||
@ -39,7 +39,6 @@ EditPypad::EditPypad(int id,QWidget *parent)
|
||||
edit_script_path_label->setFont(labelFont());
|
||||
edit_script_path_label->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
|
||||
edit_script_path_edit=new QLineEdit(this);
|
||||
edit_script_path_edit->setReadOnly(true);
|
||||
|
||||
//
|
||||
// Description
|
||||
@ -108,6 +107,7 @@ QSizePolicy EditPypad::sizePolicy() const
|
||||
void EditPypad::okData()
|
||||
{
|
||||
QString sql=QString("update `PYPAD_INSTANCES` set ")+
|
||||
"`SCRIPT_PATH`='"+RDEscapeString(edit_script_path_edit->text())+"',"+
|
||||
"`DESCRIPTION`='"+RDEscapeString(edit_description_edit->text())+"',"+
|
||||
"`CONFIG`='"+RDEscapeString(edit_config_text->toPlainText())+"' where "+
|
||||
QString::asprintf("`ID`=%u",edit_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user