diff -r 287a3ae95e00 -r 157f119cd10d src/eric7/UI/FindFileWidget.py --- a/src/eric7/UI/FindFileWidget.py Sun Jan 07 12:40:00 2024 +0100 +++ b/src/eric7/UI/FindFileWidget.py Sun Jan 07 12:40:28 2024 +0100 @@ -949,9 +949,8 @@ @param pos position the context menu shall be shown @type QPoint """ - if ( - self.findList.topLevelItemCount() - and (self.findList.selectedItems() or self.__replaceMode) + if self.findList.topLevelItemCount() and ( + self.findList.selectedItems() or self.__replaceMode ): menu = QMenu(self)