Skip to content

Commit

Permalink
bsc#1176645 - Running Yast2 Mail multiple times creates excess bracke…
Browse files Browse the repository at this point in the history
…ts in postfix configuration
  • Loading branch information
Peter Varkoly committed Sep 30, 2020
1 parent 354be34 commit 1c4e8b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/include/mail/ui.rb
Expand Up @@ -989,7 +989,9 @@ def OutgoingAuthOptions
config = Builtins.add(config, "password", "")
end

UI.ChangeWidget(Id(:server), :Value, Ops.get_string(config, "server", ""))
server = Ops.get_string(config, "server", "")
server.delete!("[]")
UI.ChangeWidget(Id(:server), :Value, server)
UI.ChangeWidget(Id(:user), :Value, Ops.get_string(config, "user", ""))
UI.ChangeWidget(
Id(:passw),
Expand Down

0 comments on commit 1c4e8b8

Please sign in to comment.