--- a/eric6/ViewManager/ViewManager.py Tue Oct 06 17:56:16 2020 +0200 +++ b/eric6/ViewManager/ViewManager.py Tue Oct 06 18:16:00 2020 +0200 @@ -6081,19 +6081,13 @@ if aw: aw.zoomOut() self.sbZoom.setValue(aw.getZoom()) - + def __zoomReset(self): """ Private method to reset the zoom factor. """ - if QApplication.focusWidget() == e5App().getObject("Shell"): - e5App().getObject("Shell").zoomTo(0) - else: - aw = self.activeWindow() - if aw: - aw.zoomTo(0) - self.sbZoom.setValue(aw.getZoom()) - + self.__zoomTo(0) + def __zoom(self): """ Private method to handle the zoom action.