Fix ternary operator use to translate "Copy subject to clipboard"
This commit is contained in:
parent
828f4d207f
commit
3e800c72a0
|
@ -3986,9 +3986,9 @@ class MyForm(settingsmixin.SMainWindow):
|
||||||
self.popMenuInbox.addAction(self.actionReply)
|
self.popMenuInbox.addAction(self.actionReply)
|
||||||
self.popMenuInbox.addAction(self.actionAddSenderToAddressBook)
|
self.popMenuInbox.addAction(self.actionAddSenderToAddressBook)
|
||||||
self.actionClipboardMessagelist = self.ui.inboxContextMenuToolbar.addAction(
|
self.actionClipboardMessagelist = self.ui.inboxContextMenuToolbar.addAction(
|
||||||
_translate("MainWindow",
|
_translate("MainWindow", "Copy subject to clipboard")
|
||||||
"Copy subject to clipboard" if tableWidget.currentColumn() == 2 else "Copy address to clipboard"
|
if tableWidget.currentColumn() == 2 else
|
||||||
),
|
_translate("MainWindow", "Copy address to clipboard"),
|
||||||
self.on_action_ClipboardMessagelist)
|
self.on_action_ClipboardMessagelist)
|
||||||
self.popMenuInbox.addAction(self.actionClipboardMessagelist)
|
self.popMenuInbox.addAction(self.actionClipboardMessagelist)
|
||||||
self.popMenuInbox.addSeparator()
|
self.popMenuInbox.addSeparator()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user