mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
fix exception when clearing a server alias
This commit is contained in:
parent
04a516d56b
commit
c2d3afae59
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ public class ServerAliasDialog extends Dialog<Server> {
|
|||
}
|
||||
|
||||
public Server getServer() {
|
||||
return new Server(server.getUrl(), labelProperty.get());
|
||||
return new Server(server.getUrl(), labelProperty.get().isEmpty() ? null : labelProperty.get());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue