ConfigWizard: Fix regression

This commit is contained in:
Vojtech Kral 2018-04-16 18:33:33 +02:00
parent d26c8e5336
commit 37cf839b27

View file

@ -50,9 +50,9 @@ wxDEFINE_EVENT(EVT_PRINTER_PICK, PrinterPickerEvent);
PrinterPicker::PrinterPicker(wxWindow *parent, const VendorProfile &vendor, const AppConfig &appconfig_vendors) : PrinterPicker::PrinterPicker(wxWindow *parent, const VendorProfile &vendor, const AppConfig &appconfig_vendors) :
wxPanel(parent), wxPanel(parent),
vendor_id(vendor.id),
variants_checked(0) variants_checked(0)
{ {
const auto vendor_id = vendor.id;
const auto &models = vendor.models; const auto &models = vendor.models;
auto *sizer = new wxBoxSizer(wxVERTICAL); auto *sizer = new wxBoxSizer(wxVERTICAL);