Skip to content

Commit

Permalink
Merge pull request #2005 from SasView/low_res_osx
Browse files Browse the repository at this point in the history
Fixing high CPU consumption on MacOSX
  • Loading branch information
Wojciech Potrzebowski authored Jan 19, 2022
2 parents 6f4bf76 + b9eb68e commit 886b871
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,8 @@ def eventFilter(self, obj, event):
if obj in [self.lstParams, self.lstPoly, self.lstMagnetic]:
if event.type() == QtCore.QEvent.KeyPress and event.key() in [QtCore.Qt.Key_Return, QtCore.Qt.Key_Enter]:
self.onKey(event)
return True
return True
return False

def modelName(self):
"""
Expand Down

0 comments on commit 886b871

Please sign in to comment.