--- a/src/eric7/Tools/UIPreviewer.py Tue Dec 06 16:00:06 2022 +0100 +++ b/src/eric7/Tools/UIPreviewer.py Tue Dec 06 16:04:58 2022 +0100 @@ -161,7 +161,7 @@ self.printAct.setShortcut(QKeySequence(self.tr("Ctrl+P", "File|Print"))) self.printAct.setStatusTip(self.tr("Print a screen capture")) self.printAct.setWhatsThis( - self.tr("""<b>Print</b>""" """<p>Print a screen capture.</p>""") + self.tr("""<b>Print</b><p>Print a screen capture.</p>""") ) self.printAct.triggered.connect(self.__printImage) @@ -171,7 +171,7 @@ self.printPreviewAct.setStatusTip(self.tr("Print preview a screen capture")) self.printPreviewAct.setWhatsThis( self.tr( - """<b>Print Preview</b>""" """<p>Print preview a screen capture.</p>""" + """<b>Print Preview</b><p>Print preview a screen capture.</p>""" ) ) self.printPreviewAct.triggered.connect(self.__printPreviewImage) @@ -195,7 +195,7 @@ self.exitAct.setShortcut(QKeySequence(self.tr("Ctrl+Q", "File|Quit"))) self.exitAct.setStatusTip(self.tr("Quit the application")) self.exitAct.setWhatsThis( - self.tr("""<b>Quit</b>""" """<p>Quit the application.</p>""") + self.tr("""<b>Quit</b><p>Quit the application.</p>""") ) self.exitAct.triggered.connect(ericApp().closeAllWindows) @@ -205,7 +205,7 @@ self.copyAct.setShortcut(QKeySequence(self.tr("Ctrl+C", "Edit|Copy"))) self.copyAct.setStatusTip(self.tr("Copy screen capture to clipboard")) self.copyAct.setWhatsThis( - self.tr("""<b>Copy</b>""" """<p>Copy screen capture to clipboard.</p>""") + self.tr("""<b>Copy</b><p>Copy screen capture to clipboard.</p>""") ) self.copyAct.triggered.connect(self.__copyImageToClipboard)