diff options
author | Vojtech Kral <vojtech@kral.hk> | 2019-06-25 18:23:53 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2019-06-25 19:16:53 +0300 |
commit | 4fb904357f9b3d727bb1dd8130cc7252f50e2e1e (patch) | |
tree | d335fc5d2a61d11afa5e5a0ab954f582bced2f04 /src/slic3r/GUI/BonjourDialog.cpp | |
parent | f7d4a35c3db5c0fc7ea861e2ea2c9f426c379f4a (diff) |
Warnings cleanup in BonjourDialog, ConfigWizard, FirmwareDialog,
GLGizmoCut, ImGuiWrapper
Diffstat (limited to 'src/slic3r/GUI/BonjourDialog.cpp')
-rw-r--r-- | src/slic3r/GUI/BonjourDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/BonjourDialog.cpp b/src/slic3r/GUI/BonjourDialog.cpp index 1885dda7b..0e05a517c 100644 --- a/src/slic3r/GUI/BonjourDialog.cpp +++ b/src/slic3r/GUI/BonjourDialog.cpp @@ -171,7 +171,7 @@ void BonjourDialog::on_reply(BonjourReplyEvent &e) // Filter replies based on selected technology const auto model = e.reply.txt_data.find("model"); const bool sl1 = model != e.reply.txt_data.end() && model->second == "SL1"; - if (tech == ptFFF && sl1 || tech == ptSLA && !sl1) { + if ((tech == ptFFF && sl1) || (tech == ptSLA && !sl1)) { return; } |