1
0
mirror of https://github.com/altlinux/admc.git synced 2024-10-26 17:25:38 +03:00

fix crash in policy tree

when changing properties for OU's
console_object_load() cannot be called on rows for policy OU's
\ because those rows are different widths from object tree ou rows
policy_ou_impl_load_row() already does what's necessary
This commit is contained in:
Dmitry Degtyarev 2022-06-20 10:22:22 +04:00
parent 2534e1bee5
commit 69cc76726d

View File

@ -609,7 +609,6 @@ void console_object_properties(ConsoleWidget *console, ConsoleWidget *buddy_cons
if (object_index.isValid()) {
const QList<QStandardItem *> object_row = target_console->get_row(object_index);
console_object_load(object_row, object);
policy_ou_impl_load_row(object_row, object);
}