From 0b60d45cf38d29c0e3df71e8a7804b383617525d Mon Sep 17 00:00:00 2001 From: YuSanka Date: Tue, 19 May 2020 18:23:39 +0200 Subject: [PATCH] Typo fix for the commit https://github.com/prusa3d/PrusaSlicer/commit/fce1943b943b7ec7dff084221d2c2125d96f771f --- src/slic3r/GUI/Search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Search.cpp b/src/slic3r/GUI/Search.cpp index 3db1937b57..967f6c5376 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);