summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2015-10-02 01:32:18 +0000
committerNorbert Preining <preining@logic.at>2015-10-02 01:32:18 +0000
commit8c57df2e5359c7ff898b11c93a26360089fce15e (patch)
tree70bb377a7bac4b12c677ad68fd018e2bb8884fa6 /Master
parente1faec7754e634c7587540ae6e50ff6004a86a86 (diff)
tlmgrgui: fix paper configuration dialog
git-svn-id: svn://tug.org/texlive/trunk@38520 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgrgui.pl3
1 files changed, 1 insertions, 2 deletions
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);