diff --git a/client/server/server.go b/client/server/server.go index 685314819..20f80743e 100644 --- a/client/server/server.go +++ b/client/server/server.go @@ -959,6 +959,10 @@ func (s *Server) SwitchProfile(callerCtx context.Context, msg *proto.SwitchProfi s.config = config + if msg != nil && msg.ProfileName != nil { + s.publishProfileListChanged(*msg.ProfileName) + } + return &proto.SwitchProfileResponse{}, nil }