Ensure that clicked item is selected on Mac in fitting panel

This commit is contained in:
DarkPhoenix
2019-08-22 07:37:49 +03:00
parent 219e1c11dc
commit 7693483720

View File

@@ -647,6 +647,10 @@ class FittingView(d.Display):
if mod is not None and (mod in fit.modules or mod is fit.mode):
mainMod = mod
if mainMod is not None and mainMod not in selection:
self.unselectAll()
self.Select(clickedPos)
sMkt = Market.getInstance()
contexts = []
if isinstance(mainMod, Module) and not mainMod.isEmpty: