summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r--perl-install/printerdrake.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm
index 72f1ec24b..5fcb5997e 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -1412,7 +1412,11 @@ What do you want to modify on this printer?",
($::expert ?
_("Printer manufacturer, model, driver") :
_("Printer manufacturer, model")),
- _("Printer options"),
+ (($printer->{configured}{$queue}{make} ne
+ "") &&
+ ($printer->{configured}{$queue}{model} ne
+ _("Unknown model")) ?
+ _("Printer options") : ()),
_("Print test pages"),
_("Remove printer") ] } ] ) ) {
# Stay in the queue edit window until the user clicks "Close"