mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-22 15:38:05 -05:00
Locking tabs when not ready yet
This commit is contained in:
parent
8dd9d0032c
commit
2b76d000c4
1 changed files with 3 additions and 0 deletions
|
@ -66,11 +66,14 @@ public class ViaProxyUI extends JFrame {
|
|||
this.tabs.add(field.get());
|
||||
tab.add(this.contentPane);
|
||||
});
|
||||
|
||||
this.contentPane.setEnabledAt(1, false);
|
||||
}
|
||||
|
||||
|
||||
public void setReady() {
|
||||
for (AUITab tab : this.tabs) tab.setReady();
|
||||
for (int i = 0; i < this.contentPane.getTabCount(); i++) this.contentPane.setEnabledAt(i, true);
|
||||
}
|
||||
|
||||
public void openURL(final String url) {
|
||||
|
|
Loading…
Reference in a new issue