Swap "Copy for Forum" and "Copy as HTML" actions

Fixes #5401

The bug was introduced by 982d4f3f, when DiscourseFormat(Editor, bool html) declarations were swapped. The contextual/right click menu in EditorTab already behaves correctly.
This commit is contained in:
Martino Facchin 2016-12-13 10:07:05 +01:00
parent 6dacb6b0bf
commit 55b55b29e6
1 changed files with 2 additions and 2 deletions

View File

@ -1306,7 +1306,7 @@ public class Editor extends JFrame implements RunnerListener {
JMenuItem copyForumItem = newJMenuItemShift(tr("Copy for Forum"), 'C');
copyForumItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
getCurrentTab().handleHTMLCopy();
getCurrentTab().handleDiscourseCopy();
}
});
menu.add(copyForumItem);
@ -1314,7 +1314,7 @@ public class Editor extends JFrame implements RunnerListener {
JMenuItem copyHTMLItem = newJMenuItemAlt(tr("Copy as HTML"), 'C');
copyHTMLItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
getCurrentTab().handleDiscourseCopy();
getCurrentTab().handleHTMLCopy();
}
});
menu.add(copyHTMLItem);