From: Daid Date: Fri, 26 Oct 2012 08:47:22 +0000 (+0200) Subject: Fix the tooltip over the combobox for macOS X X-Git-Tag: 13.03~237 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6cc99b4e44a7ae7c053e0602a8d6826feb39cd1d;p=cura.git Fix the tooltip over the combobox for macOS X --- 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':