tw.view: support Ctrl-R for balance refresh
This commit is contained in:
parent
392b3700af
commit
51015089e6
4 changed files with 7 additions and 3 deletions
|
|
@ -48,7 +48,8 @@ class MoneroTwAddresses(MoneroTwView, TwAddresses):
|
|||
'N': 'a_acct_new',
|
||||
'n': 'i_addr_new',
|
||||
'u': 'd_showused',
|
||||
'R': 'a_sync_wallets'}
|
||||
'R': 'a_sync_wallets',
|
||||
'\x12': 'a_sync_wallets'}
|
||||
removed_key_mappings = {
|
||||
'D': 'i_addr_delete'}
|
||||
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ class MoneroTwUnspentOutputs(MoneroTwView, TwUnspentOutputs):
|
|||
'Actions: [q]uit menu, add [l]abel, r[e]draw, [R]efresh balances:']
|
||||
self.extra_key_mappings = {
|
||||
'R': 'a_sync_wallets',
|
||||
'\x12': 'a_sync_wallets',
|
||||
'A': 's_age'}
|
||||
if tx and tx.is_sweep:
|
||||
self.prompt_fs_in[-1] = 'Actions: [q]uit, add [l]abel, r[e]draw, [R]efresh balances:'
|
||||
|
|
|
|||
|
|
@ -55,7 +55,8 @@ class TwAddresses(TwView):
|
|||
'w':'a_view_detail',
|
||||
'p':'a_print_detail'}
|
||||
extra_key_mappings = {
|
||||
'R':'i_balance_refresh'}
|
||||
'R':'i_balance_refresh',
|
||||
'\x12':'i_balance_refresh'}
|
||||
|
||||
class display_type(TwView.display_type):
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,8 @@ class TwUnspentOutputs(TwView):
|
|||
'l':'i_comment_add'}
|
||||
extra_key_mappings = {
|
||||
'D':'i_addr_delete',
|
||||
'R':'i_balance_refresh'}
|
||||
'R':'i_balance_refresh',
|
||||
'\x12':'i_balance_refresh'}
|
||||
disp_spc = 3
|
||||
vout_w = 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue