mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-12-22 16:38:04 +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