printers: Fix visibility guard for the printer "Model" label
This is a typo related to the fix at commit 7d25444
.
This commit is contained in:
parent
5bc84ae4e3
commit
756eb883df
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ pp_printer_entry_new (cups_dest_t printer,
|
|||
|
||||
self->printer_make_and_model = sanitize_printer_model (printer_make_and_model);
|
||||
|
||||
if (self->printer_make_and_model == NULL || self->printer_make_and_model[0] != '\0')
|
||||
if (self->printer_make_and_model == NULL || self->printer_make_and_model[0] == '\0')
|
||||
{
|
||||
gtk_widget_hide (GTK_WIDGET (self->printer_model_label));
|
||||
gtk_widget_hide (GTK_WIDGET (self->printer_model));
|
||||
|
|
Loading…
Add table
Reference in a new issue