diff -r c8118e766ee6 -r d1479a4f1426 src/eric7/ViewManager/ViewManager.py --- a/src/eric7/ViewManager/ViewManager.py Mon Apr 08 16:21:46 2024 +0200 +++ b/src/eric7/ViewManager/ViewManager.py Mon Apr 08 17:02:11 2024 +0200 @@ -7026,7 +7026,7 @@ @param zoomingWidget reference to the widget triggering the slot @type Editor or Shell """ - if QApplication.focusWidget() == ericApp().getObject("Shell"): + if QApplication.focusWidget() == ericApp().getObject("Shell"): # noqa: Y108 aw = ericApp().getObject("Shell") else: aw = (