mirror of
https://github.com/TotalFreedomMC/ZeroTelnetClient.git
synced 2024-12-22 16:25:14 +00:00
Fix popup not working in Mac & Linux.
This commit is contained in:
parent
467f6e47ea
commit
bfbcfd1592
1 changed files with 2 additions and 1 deletions
|
@ -323,7 +323,8 @@ public class BTC_MainPanel extends javax.swing.JFrame
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (mouseEvent.isPopupTrigger() && mouseEvent.getComponent() instanceof JTable)
|
|
||||||
|
if ((SwingUtilities.isRightMouseButton(mouseEvent) || mouseEvent.isControlDown()) && mouseEvent.getComponent() instanceof JTable)
|
||||||
{
|
{
|
||||||
final PlayerInfo player = getSelectedPlayer();
|
final PlayerInfo player = getSelectedPlayer();
|
||||||
if (player != null)
|
if (player != null)
|
||||||
|
|
Loading…
Reference in a new issue