fix: Make settings page show default area while admin user login or logout.
This commit is contained in:
@@ -107,12 +107,14 @@ SettingFormWidget::~SettingFormWidget()
|
||||
|
||||
void SettingFormWidget::hideAdminArea()
|
||||
{
|
||||
mListWidget->setCurrentRow(0);
|
||||
mListWidget->item(1)->setHidden(true);
|
||||
mListWidget->item(4)->setHidden(true);
|
||||
}
|
||||
|
||||
void SettingFormWidget::showAdminArea()
|
||||
{
|
||||
mListWidget->setCurrentRow(0);
|
||||
mListWidget->item(1)->setHidden(false);
|
||||
mListWidget->item(4)->setHidden(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user