diff --git a/src/admc/properties_dialog.cpp b/src/admc/properties_dialog.cpp
index ade922d4..72be9e5a 100644
--- a/src/admc/properties_dialog.cpp
+++ b/src/admc/properties_dialog.cpp
@@ -166,10 +166,14 @@ PropertiesDialog::PropertiesDialog(const QString &target_arg)
if (object.is_class(CLASS_USER)) {
add_tab(new MemberOfTab(), tr("Member of"));
}
+
+ #ifdef QT_DEBUG
if (object.is_class(CLASS_OU)) {
// TODO: not sure which object classes can have gplink, for now only know of OU's.
add_tab(new GroupPolicyTab(), tr("Group policy"));
}
+ #endif
+
if (object.is_class(CLASS_GP_CONTAINER)) {
add_tab(new GpoLinksTab(), tr("Links to"));
}
diff --git a/translations/en.ts b/translations/en.ts
index 69cc1313..ea4902be 100644
--- a/translations/en.ts
+++ b/translations/en.ts
@@ -1434,12 +1434,12 @@
-
+
Group policy
-
+
Links to
diff --git a/translations/ru.ts b/translations/ru.ts
index 248ae1a5..d191c08e 100644
--- a/translations/ru.ts
+++ b/translations/ru.ts
@@ -1441,12 +1441,12 @@
Группы
-
+
Group policy
Групповая политика
-
+
Links to
Линки политик