mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-21 11:45:16 +01:00
Added double click to AccountsTab
This commit is contained in:
parent
6dd76b46ad
commit
3f899f1d92
@ -92,6 +92,9 @@ public class AccountsTab extends AUITab {
|
||||
if (SwingUtilities.isRightMouseButton(e)) {
|
||||
int row = accountsList.locationToIndex(e.getPoint());
|
||||
accountsList.setSelectedIndex(row);
|
||||
} else if (e.getClickCount() == 2) {
|
||||
int index = accountsList.getSelectedIndex();
|
||||
if (index != -1) markSelected(index);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user