From c91df2c769f4b1f9b3eeac760615c54f9bfe043d Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 5 Aug 2019 14:36:50 +0200 Subject: [PATCH] Fixed a typo in print_host variable name --- src/slic3r/GUI/MainFrame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp index f5da43aee..b0945aea8 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -287,8 +287,8 @@ bool MainFrame::can_send_gcode() const if (m_plater->model().objects.empty()) return false; - const auto prin_host_opt =wxGetApp().preset_bundle->printers.get_edited_preset().config.option("print_host"); - return prin_host_opt != nullptr && !prin_host_opt->value.empty(); + const auto print_host_opt = wxGetApp().preset_bundle->printers.get_edited_preset().config.option("print_host"); + return print_host_opt != nullptr && !print_host_opt->value.empty(); } bool MainFrame::can_slice() const