-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2023-08-03 Fred Gleason <[email protected]>
* Made the 'Script Path' control on the 'Edit PyPAD Instance' dialog in rdadmin(1) read-write. Signed-off-by: Fred Gleason <[email protected]>
- Loading branch information
1 parent
f732852
commit 9623099
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[email protected]> | ||
* Made the 'Script Path' control on the 'Edit PyPAD Instance' dialog | ||
in rdadmin(1) read-write. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
// | ||
// Edit a PyPAD Instance Configuration | ||
// | ||
// (C) Copyright 2018-2021 Fred Gleason <[email protected]> | ||
// (C) Copyright 2018-2023 Fred Gleason <[email protected]> | ||
// | ||
// 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); | ||
|