forked from External/mage
GUI: fixed wrong clicks from additional mouse buttons (now only left clicks are allowed, closes #11455)
This commit is contained in:
parent
75958e3710
commit
a0ed89035f
17 changed files with 82 additions and 21 deletions
|
|
@ -136,6 +136,9 @@ public class PickChoiceDialog extends MageDialog {
|
|||
|
||||
@Override
|
||||
public void mouseClicked(MouseEvent e) {
|
||||
if (!SwingUtilities.isLeftMouseButton(e)) {
|
||||
return;
|
||||
}
|
||||
if (e.getClickCount() == 2) {
|
||||
doChoose();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue