mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Prevent Alt key opening Forge menu while dialog open
This commit is contained in:
@@ -206,7 +206,7 @@ public class FNavigationBar extends FTitleBarBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void showForgeMenu(boolean hideIfAlreadyShown) {
|
public void showForgeMenu(boolean hideIfAlreadyShown) {
|
||||||
if (!btnForge.isToggled() && btnForge.isEnabled()) {
|
if (!btnForge.isToggled() && forgeMenu.getPopupMenu().isEnabled()) {
|
||||||
btnForge.setToggled(true);
|
btnForge.setToggled(true);
|
||||||
forgeMenu.getPopupMenu().show(this, 1, this.getHeight());
|
forgeMenu.getPopupMenu().show(this, 1, this.getHeight());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user