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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2020-05-19 19:23:39 +0300
committerYuSanka <yusanka@gmail.com>2020-05-19 19:23:39 +0300
commit0b60d45cf38d29c0e3df71e8a7804b383617525d (patch)
tree968fda96b0759ee4484d7cdd337e36eabdb67b18 /src/slic3r/GUI/Search.cpp
parentfce1943b943b7ec7dff084221d2c2125d96f771f (diff)
Typo fix for the commit https://github.com/prusa3d/PrusaSlicer/commit/fce1943b943b7ec7dff084221d2c2125d96f771f
Diffstat (limited to 'src/slic3r/GUI/Search.cpp')
-rw-r--r--src/slic3r/GUI/Search.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slic3r/GUI/Search.cpp b/src/slic3r/GUI/Search.cpp
index 3db1937b5..967f6c537 100644
--- a/src/slic3r/GUI/Search.cpp
+++ b/src/slic3r/GUI/Search.cpp
@@ -486,7 +486,7 @@ SearchDialog::SearchDialog(OptionsSearcher* searcher)
// Under OSX mouse and key states didn't fill after wxEVT_DATAVIEW_SELECTION_CHANGED call
// As a result, we can't to identify what kind of actions was done
// So, under OSX is used OnKeyDown function to navigate inside the list
-#ifndef __APPLE__
+#ifdef __APPLE__
search_list->Bind(wxEVT_KEY_DOWN, &SearchDialog::OnKeyDown, this);
#endif
@@ -494,7 +494,7 @@ SearchDialog::SearchDialog(OptionsSearcher* searcher)
if (check_english)
check_english ->Bind(wxEVT_CHECKBOX, &SearchDialog::OnCheck, this);
- Bind(wxEVT_MOTION, &SearchDialog::OnMotion, this);
+// Bind(wxEVT_MOTION, &SearchDialog::OnMotion, this);
Bind(wxEVT_LEFT_DOWN, &SearchDialog::OnLeftDown, this);
SetSizer(topSizer);