summaryrefslogtreecommitdiff
path: root/Master/texmf/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/scripts')
-rw-r--r--Master/texmf/scripts/texlive/tlmgrgui.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgrgui.pl b/Master/texmf/scripts/texlive/tlmgrgui.pl
index 502df3165d4..6467e9d5750 100644
--- a/Master/texmf/scripts/texlive/tlmgrgui.pl
+++ b/Master/texmf/scripts/texlive/tlmgrgui.pl
@@ -255,8 +255,10 @@ sub do_rest_of_gui {
-selectmode => "none");
my $button_frame = $mw->Frame;
- $button_frame->Button(-text => __("Load default"),
- -command => sub { setup_location($tlpdb_location); })->pack(
+ my $but;
+ $but = $button_frame->Button(-text => __("Load default"),
+ -command => sub { setup_location($tlpdb_location); $but->packForget; });
+ $but->pack(
-anchor => 'e', -padx => 0, -pady => 0,
-ipadx => 0, -ipady => 0, -side => 'right');
$loaded_text = $button_frame->Label(