2022-09-27 Fred Gleason <fredg@paravelsystems.com>

* Added 'RDLogFilter::filterServiceName()' and
	'RDLogFilter::filterText()' methods.
	* Modified rdlogedit(1) when creating a new log to default the
	'Service' dropdown in the 'Add Log' dialog to the currently selected
	service.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-09-27 13:17:22 -04:00
parent 7d4bda7fa6
commit 631e337f63
5 changed files with 24 additions and 1 deletions

View File

@@ -264,10 +264,10 @@ void MainWidget::recentData(bool state)
void MainWidget::addData()
{
QString logname;
QString svcname;
QStringList newlogs;
RDAddLog *log;
QModelIndex row;
QString svcname=log_filter_widget->filterServiceName();
if(rda->user()->createLog()) {
log=new RDAddLog(&logname,&svcname,RDLogFilter::UserFilter,