forked from External/mage
* UI: added save/load/reset game settings for new table dialog;
Fixed that edh power level don't saves;
This commit is contained in:
parent
42658d5cff
commit
1b79827b2d
4 changed files with 491 additions and 262 deletions
|
|
@ -129,7 +129,8 @@ public class MageDialog extends javax.swing.JInternalFrame {
|
|||
// need popup clicks and mouse wheel (for out of bound actions)
|
||||
if (!allowedEvent) {
|
||||
popupComponent = SwingUtilities.getDeepestComponentAt(e.getComponent(), e.getX(), e.getY()); // show root component (popups creates at root)
|
||||
if (popupComponent != null && popupComponent.getClass().getName().contains("BasicComboPopup")) {
|
||||
if (popupComponent != null && (popupComponent.getClass().getName().contains("BasicComboPopup")
|
||||
|| popupComponent.getClass().getName().contains("JMenuItem"))) {
|
||||
popupEvent = SwingUtilities.convertMouseEvent((Component) e.getSource(), e, popupComponent);
|
||||
allowedEvent = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue