File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,11 @@ def is_applicable(cls, view_settings):
42
42
return cls .determine_enablement (view_settings )
43
43
44
44
def on_selection_modified_async (self ):
45
+ self .close_by_user_request ()
45
46
self .rerun ()
46
47
47
48
def on_post_save_async (self ):
49
+ self .close_by_user_request ()
48
50
# When the file view goes from having unsaved changes to having no unsaved
49
51
# changes, it becomes eligible for Inline Blame to be shown again. Act on that
50
52
# fact now, rather than waiting for the next time the caret gets moved.
@@ -62,7 +64,6 @@ def close_by_user_request(self):
62
64
self .view .erase_phantoms (INLINE_BLAME_PHANTOM_SET_KEY )
63
65
64
66
def rerun (self , ** kwargs ):
65
- self .close_by_user_request ()
66
67
if self .timer :
67
68
self .timer .cancel ()
68
69
self .timer = threading .Timer (self .delay_seconds , self .show_inline_blame )
You can’t perform that action at this time.
0 commit comments