Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2019-06-25 18:23:53 +0300
committerVojtech Kral <vojtech@kral.hk>2019-06-25 19:16:53 +0300
commit4fb904357f9b3d727bb1dd8130cc7252f50e2e1e (patch)
treed335fc5d2a61d11afa5e5a0ab954f582bced2f04 /src/slic3r/GUI/BonjourDialog.cpp
parentf7d4a35c3db5c0fc7ea861e2ea2c9f426c379f4a (diff)
Warnings cleanup in BonjourDialog, ConfigWizard, FirmwareDialog,
GLGizmoCut, ImGuiWrapper
Diffstat (limited to 'src/slic3r/GUI/BonjourDialog.cpp')
-rw-r--r--src/slic3r/GUI/BonjourDialog.cpp2
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;
}