mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-21 23:29:34 +02:00
2021-07-20 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdadmin(1) that caused the username and description fields to be blank on the main window. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
76156b966a
commit
6c835fef3e
@ -22076,3 +22076,6 @@
|
|||||||
2021-07-20 Fred Gleason <fredg@paravelsystems.com>
|
2021-07-20 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a bug in rdadmin(1) that threw a SQL error when creating a
|
* Fixed a bug in rdadmin(1) that threw a SQL error when creating a
|
||||||
new matrix device.
|
new matrix device.
|
||||||
|
2021-07-20 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a regression in rdadmin(1) that caused the username and
|
||||||
|
description fields to be blank on the main window.
|
||||||
|
@ -108,13 +108,11 @@ MainWidget::MainWidget(RDConfig *config,RDWidget *parent)
|
|||||||
name_label->setGeometry(0,5,sizeHint().width(),20);
|
name_label->setGeometry(0,5,sizeHint().width(),20);
|
||||||
name_label->setAlignment(Qt::AlignVCenter|Qt::AlignCenter);
|
name_label->setAlignment(Qt::AlignVCenter|Qt::AlignCenter);
|
||||||
name_label->setFont(labelFont());
|
name_label->setFont(labelFont());
|
||||||
name_label->setText(tr("User")+": "+rda->user()->name());
|
|
||||||
|
|
||||||
QLabel *description_label=new QLabel(this);
|
QLabel *description_label=new QLabel(this);
|
||||||
description_label->setGeometry(0,24,sizeHint().width(),14);
|
description_label->setGeometry(0,24,sizeHint().width(),14);
|
||||||
description_label->setAlignment(Qt::AlignVCenter|Qt::AlignCenter);
|
description_label->setAlignment(Qt::AlignVCenter|Qt::AlignCenter);
|
||||||
name_label->setFont(labelFont());
|
name_label->setFont(labelFont());
|
||||||
description_label->setText(rda->user()->description());
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Manage Users Button
|
// Manage Users Button
|
||||||
@ -238,6 +236,8 @@ MainWidget::MainWidget(RDConfig *config,RDWidget *parent)
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
name_label->setText(tr("User")+": "+rda->user()->name());
|
||||||
|
description_label->setText(rda->user()->description());
|
||||||
users_button->setEnabled(config_priv);
|
users_button->setEnabled(config_priv);
|
||||||
groups_button->setEnabled(config_priv);
|
groups_button->setEnabled(config_priv);
|
||||||
services_button->setEnabled(config_priv);
|
services_button->setEnabled(config_priv);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user