2019-02-07 Fred Gleason <fredg@paravelsystems.com>

Fixed a regression in rdlibrary(1) that made it impossible to
	enter apostrophes or quotes in RMLs.
This commit is contained in:
Fred Gleason 2019-02-07 14:09:02 -05:00
parent 06dd4c336b
commit e6fb2dbb31
2 changed files with 4 additions and 11 deletions

View File

@ -18464,3 +18464,6 @@
* Replaced the 'Add Event', 'Delete Event' and 'Modify Event'
commands in the RDCatch Monitor Protocol with multicast update
events.
2019-02-07 Fred Gleason <fredg@paravelsystems.com>
Fixed a regression in rdlibrary(1) that made it impossible to
enter apostrophes or quotes in RMLs.

View File

@ -2,7 +2,7 @@
//
// Edit a Rivendell Macro
//
// (C) Copyright 2002-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2019 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
@ -18,12 +18,8 @@
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
#include <qdialog.h>
#include <qpushbutton.h>
#include <qlabel.h>
#include <qsqldatabase.h>
#include <rdtextvalidator.h>
#include "edit_macro.h"
@ -46,11 +42,6 @@ EditMacro::EditMacro(RDMacro *cmd,bool highlight,QWidget *parent)
QFont button_font("Helvetica",12,QFont::Bold);
button_font.setPixelSize(12);
//
// Text Validator
//
RDTextValidator *validator=new RDTextValidator(this);
//
// Macro
//
@ -58,7 +49,6 @@ EditMacro::EditMacro(RDMacro *cmd,bool highlight,QWidget *parent)
edit_macro_edit=new QLineEdit(this);
edit_macro_edit->setMaxLength(RD_RML_MAX_LENGTH-1);
edit_macro_edit->setValidator(validator);
//
// Ok Button