TunnelEditor: fix nits

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2018-07-06 16:28:46 +02:00
parent 500a705531
commit 124f186983
7 changed files with 49 additions and 29 deletions
@@ -291,6 +291,11 @@ public class Interface {
return excludedApplications;
}
@Bindable
public int getExcludedApplicationsCount() {
return Attribute.stringToList(excludedApplications).length;
}
@Bindable
public String getListenPort() {
return listenPort;
@@ -334,6 +339,7 @@ public class Interface {
public void setExcludedApplications(final String excludedApplications) {
this.excludedApplications = excludedApplications;
notifyPropertyChanged(BR.excludedApplications);
notifyPropertyChanged(BR.excludedApplicationsCount);
}
public void setListenPort(final String listenPort) {