2021-10-27 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdlogmanager(1) in the 'Log Events' dialog
	that caused a 'phantom' additional entry in the event list to
	be created when overwriting an existing event during a 'Save As'
	operation.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-10-27 13:01:41 -04:00
parent e5e81ed361
commit 4a98b80c28
7 changed files with 45 additions and 26 deletions

View File

@@ -2,7 +2,7 @@
//
// Add a Rivendell Log Manager Event
//
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2021 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
@@ -31,7 +31,7 @@ class AddEvent : public RDDialog
{
Q_OBJECT
public:
AddEvent(QString *logname,QWidget *parent=0);
AddEvent(QString *evt_name,QWidget *parent=0);
~AddEvent();
QSize sizeHint() const;
QSizePolicy sizePolicy() const;