From 6cc99b4e44a7ae7c053e0602a8d6826feb39cd1d Mon Sep 17 00:00:00 2001 From: Daid Date: Fri, 26 Oct 2012 10:47:22 +0200 Subject: [PATCH] Fix the tooltip over the combobox for macOS X --- Cura/gui/configBase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cura/gui/configBase.py b/Cura/gui/configBase.py index 0539ae0d..68824830 100644 --- a/Cura/gui/configBase.py +++ b/Cura/gui/configBase.py @@ -130,6 +130,7 @@ class SettingRow(): else: self.ctrl = wx.ComboBox(panel, -1, getSettingFunc(configName), choices=defaultValue, style=wx.CB_DROPDOWN|wx.CB_READONLY) self.ctrl.Bind(wx.EVT_COMBOBOX, self.OnSettingChange) + self.ctrl.Bind(wx.EVT_LEFT_DOWN, self.OnMouseExit) flag = wx.EXPAND sizer.Add(self.label, (x,y), flag=wx.ALIGN_CENTER_VERTICAL|wx.LEFT,border=10) @@ -148,6 +149,7 @@ class SettingRow(): def OnMouseExit(self, e): self.panel.main.OnPopupHide(self) + e.Skip() def OnSettingChange(self, e): if self.type == 'profile': -- 2.30.2