--- a/src/eric7/CodeFormatting/FormattingDiffWidget.py Fri Oct 25 09:47:48 2024 +0200 +++ b/src/eric7/CodeFormatting/FormattingDiffWidget.py Fri Oct 25 17:58:59 2024 +0200 @@ -7,6 +7,7 @@ Module implementing a window to show a unified diff.. """ +from PyQt6.QtCore import Qt from PyQt6.QtWidgets import QWidget from eric7 import Preferences @@ -29,6 +30,7 @@ """ super().__init__(parent) self.setupUi(self) + self.setWindowFlags(Qt.WindowType.Window) font = Preferences.getEditorOtherFonts("MonospacedFont") self.diffEdit.document().setDefaultFont(font)