MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / on_action_SubscriptionsDisable

Method on_action_SubscriptionsDisable

src/bitmessageqt/__init__.py:3402–3410  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3400 shared.reloadBroadcastSendersForWhichImWatching()
3401
3402 def on_action_SubscriptionsDisable(self):
3403 address = self.getCurrentAccount()
3404 sqlExecute(
3405 '''update subscriptions set enabled=0 WHERE address=?''',
3406 address)
3407 account = self.getCurrentItem()
3408 account.setEnabled(False)
3409 self.rerenderAddressBook()
3410 shared.reloadBroadcastSendersForWhichImWatching()
3411
3412 def on_context_menuSubscriptions(self, point):
3413 currentItem = self.getCurrentItem()

Callers

nothing calls this directly

Calls 5

getCurrentAccountMethod · 0.95
getCurrentItemMethod · 0.95
rerenderAddressBookMethod · 0.95
sqlExecuteFunction · 0.90
setEnabledMethod · 0.80

Tested by

no test coverage detected