update for new object

This commit is contained in:
Zlatin Balevsky
2019-11-08 07:42:33 +00:00
parent 2017b53a43
commit d842e3f2f2

View File

@ -257,7 +257,7 @@ class MainFrameController {
int row = view.getSelectedTrustTablesRow("trusted-table")
if (row < 0)
return
Persona p = model.trusted[row]
Persona p = model.trusted[row].persona
core.muOptions.trustSubscriptions.add(p)
saveMuWireSettings()
core.eventBus.publish(new TrustSubscriptionEvent(persona : p, subscribe : true))