From 6e1d45c79e95bf683e2f124aad817615d9f678f8 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 7 Oct 2016 19:23:45 +0200 Subject: [PATCH] Gerbview: Fix a compil issue I created when copying a fix from the master branch --- gerbview/dialogs/dialog_print_using_printer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gerbview/dialogs/dialog_print_using_printer.cpp b/gerbview/dialogs/dialog_print_using_printer.cpp index f408992b00..9141f3f7f4 100644 --- a/gerbview/dialogs/dialog_print_using_printer.cpp +++ b/gerbview/dialogs/dialog_print_using_printer.cpp @@ -170,7 +170,8 @@ void DIALOG_PRINT_USING_PRINTER::InitValues( ) wxID_ANY, msg ); boxSizer->Add( m_BoxSelectLayer[ii], wxGROW | wxLEFT | wxRIGHT | wxTOP ); - if( images->GetGbrImage( ii ) == NULL ) // Nothing loaded on this draw layer + if( g_GERBER_List.GetGbrImage( ii ) == NULL ) + // Nothing loaded on this draw layer m_BoxSelectLayer[ii]->Enable( false ); }