mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-25 12:25:41 +01:00
Locking tabs when not ready yet
This commit is contained in:
parent
8dd9d0032c
commit
2b76d000c4
@ -66,11 +66,14 @@ public class ViaProxyUI extends JFrame {
|
|||||||
this.tabs.add(field.get());
|
this.tabs.add(field.get());
|
||||||
tab.add(this.contentPane);
|
tab.add(this.contentPane);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.contentPane.setEnabledAt(1, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setReady() {
|
public void setReady() {
|
||||||
for (AUITab tab : this.tabs) tab.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) {
|
public void openURL(final String url) {
|
||||||
|
Loading…
Reference in New Issue
Block a user