2017-11-28 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in the 'Add Log' dialog that allowed creation of a log
	with a blank name.
This commit is contained in:
Fred Gleason 2017-11-28 09:29:46 -05:00
parent d55a3b9115
commit eabd1d7ed5
2 changed files with 4 additions and 0 deletions

View File

@ -16385,3 +16385,6 @@
* Incremented the database version to 272. * Incremented the database version to 272.
* Added a 'Service Permissions' button to the Edit User dialog in * Added a 'Service Permissions' button to the Edit User dialog in
rdadmin(1). rdadmin(1).
2017-11-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'Add Log' dialog that allowed creation of a log
with a blank name.

View File

@ -94,6 +94,7 @@ RDAddLog::RDAddLog(QString *logname,QString *svcname,
add_ok_button->setDefault(true); add_ok_button->setDefault(true);
add_ok_button->setFont(button_font); add_ok_button->setFont(button_font);
add_ok_button->setText(tr("&OK")); add_ok_button->setText(tr("&OK"));
add_ok_button->setDisabled(true);
connect(add_ok_button,SIGNAL(clicked()),this,SLOT(okData())); connect(add_ok_button,SIGNAL(clicked()),this,SLOT(okData()));
// //