From 8c57df2e5359c7ff898b11c93a26360089fce15e Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 2 Oct 2015 01:32:18 +0000 Subject: tlmgrgui: fix paper configuration dialog git-svn-id: svn://tug.org/texlive/trunk@38520 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/tlmgrgui.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Master/texmf-dist/scripts') diff --git a/Master/texmf-dist/scripts/texlive/tlmgrgui.pl b/Master/texmf-dist/scripts/texlive/tlmgrgui.pl index 3b28c061b9d..08d4b815875 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgrgui.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgrgui.pl @@ -205,7 +205,6 @@ sub guimain { $::we_can_save = 1; } else { $::we_can_save = 0; - # here we should pop up a warning window!!! } $::action_button_state = ($::we_can_save ? "normal" : "disabled"); @@ -2307,7 +2306,7 @@ sub cb_handle_restore { # first do the handling of the backup dir selection { my ($a, $b) = check_backupdir_selection(); - if (!$a) { + if ($a != $F_OK) { # in all these cases we want to terminate in the non-gui mode my $sw = $mw->DialogBox(-title => __("Warning"), -buttons => [ __("Ok") ]); $sw->add("Label", -text => $b)->pack(@p_iii); -- cgit v1.2.3