summaryrefslogtreecommitdiffstats
path: root/drakpxelinux.pl
diff options
context:
space:
mode:
Diffstat (limited to 'drakpxelinux.pl')
-rw-r--r--drakpxelinux.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl
index c9dc153..211ea90 100644
--- a/drakpxelinux.pl
+++ b/drakpxelinux.pl
@@ -817,7 +817,10 @@ my $labelscombo = Gtk2::OptionMenu->new;
#my @labelslist = list_label_pxe;
my $defaultlabel = $pxelinux_conf->{default};
$labelscombo->entry->set_text($defaultlabel);
-$labelscombo->entry->signal_connect("changed", sub { $pxelinux_conf->{default} = $labelscombo->entry->get_text });
+$labelscombo->entry->signal_connect("changed", sub {
+ $pxelinux_conf->{default} = $labelscombo->entry->get_text;
+ write_conf();
+});
my @o = network::pxe::list_pxelinux_labels($pxelinux_conf);
$labelscombo->set_popdown_strings("", sort(@o));