summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center4
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center
index 5e5344c9..61eb2e9a 100755
--- a/control-center
+++ b/control-center
@@ -312,7 +312,7 @@ my ($menu, $factory) = create_factory_menu($window_global,
#-PO Don't remember to translate "Options" the same way "_Options" is (but without the underscore of course)
$show_log_check_box = $factory->get_widget("<main>" . N("/Options") . N("/Display Logs"));
$embedded_check_box = $factory->get_widget("<main>" . N("/Options") . N("/Embedded Mode"));
-$expert_wizard_check_box = $factory->get_widget("<main>" . N("/Options") . N("/Expert mode in wizards"));
+$expert_wizard_check_box = $factory->get_widget("<main>" . N("/Options") . N("/Expert mode in wizards")) if $::isWiz;
gtkadd($window_global,
gtkpack_(Gtk2::VBox->new(0, 3),
@@ -541,7 +541,7 @@ eval {
if (defined $show_log_check_box) {
$show_log_check_box->set_active($show_logs);
$embedded_check_box->set_active($embedded);
- $expert_wizard_check_box->set_active($expert_wizard);
+ $expert_wizard_check_box->set_active($expert_wizard) if $::isWiz;
};
};
print STDERR "BUG with LANGUAGE $ENV{LANGUAGE}\n" if $@;