1
0
mirror of https://github.com/altlinux/admc.git synced 2025-03-21 14:50:14 +03:00

Change PolicyResultsWidget update method

PolicyResults widget is updated with policy tree scope index
instead of policy dn. Update changed for policy item selection
and policy state changing.
This commit is contained in:
Semyon Knyazev 2025-01-10 15:01:58 +04:00
parent ef70b3c3f5
commit 892ffd260c

View File

@ -145,7 +145,7 @@ void PolicyImpl::selected_as_scope(const QModelIndex &index) {
g_status->log_messages(ad);
policy_results->update(selected_gpo);
policy_results->update(index);
}
QList<QAction *> PolicyImpl::get_all_custom_actions() const {
@ -276,7 +276,7 @@ void PolicyImpl::on_change_gplink_option_action(QAction *action)
if (success) {
update_ou_item_gplink_data(updated_gplink_string, ou_index, console);
set_policy_item_icon(policy_index, checked, option);
policy_results->update(gpo_dn);
policy_results->update(policy_index);
}
else {
action->toggle();