mirror of https://github.com/zlatinb/muwire
update for new object
parent
2017b53a43
commit
d842e3f2f2
|
@ -257,7 +257,7 @@ class MainFrameController {
|
||||||
int row = view.getSelectedTrustTablesRow("trusted-table")
|
int row = view.getSelectedTrustTablesRow("trusted-table")
|
||||||
if (row < 0)
|
if (row < 0)
|
||||||
return
|
return
|
||||||
Persona p = model.trusted[row]
|
Persona p = model.trusted[row].persona
|
||||||
core.muOptions.trustSubscriptions.add(p)
|
core.muOptions.trustSubscriptions.add(p)
|
||||||
saveMuWireSettings()
|
saveMuWireSettings()
|
||||||
core.eventBus.publish(new TrustSubscriptionEvent(persona : p, subscribe : true))
|
core.eventBus.publish(new TrustSubscriptionEvent(persona : p, subscribe : true))
|
||||||
|
|
Loading…
Reference in New Issue