@@ -387,7 +387,7 @@ def __init__(self,cwd):
387
387
self .status_records_all .pack (fill = 'x' ,expand = 0 ,side = 'left' )
388
388
self .status_records_all_configure = lambda x : self .status_records_all .configure (image = self .ico_records_all , text = x ,compound = 'left' )
389
389
self .widget_tooltip (self .status_records_all ,'All records in repository' )
390
- self .status_records_all .bind ("<ButtonPress-1>" , lambda event : self .unload_recod () )
390
+ self .status_records_all .bind ("<ButtonPress-1>" , lambda event : self .unload_record () )
391
391
self .status_records_all .bind ("<Double-Button-1>" , lambda event : self .unload_all_recods () )
392
392
393
393
self .status_record = Label (status_frame ,image = self .ico_record ,text = '--' ,width = 200 ,borderwidth = 2 ,bg = self .bg_color ,relief = 'groove' ,anchor = 'w' )
@@ -727,6 +727,8 @@ def help_cascade_post():
727
727
self_main_bind ('<F3>' , lambda event : self .find_next ())
728
728
self_main_bind ('<Shift-F3>' , lambda event : self .find_prev ())
729
729
730
+ self_main_bind ('<BackSpace>' , lambda event : self .unload_record ())
731
+
730
732
gc_collect ()
731
733
gc_enable ()
732
734
@@ -3935,7 +3937,7 @@ def record_info(self):
3935
3937
@block_actions_processing
3936
3938
@gui_block
3937
3939
@logwrapper
3938
- def unload_recod (self ,record = None ):
3940
+ def unload_record (self ,record = None ):
3939
3941
if not record :
3940
3942
record = self .current_record
3941
3943
@@ -3959,7 +3961,7 @@ def unload_recod(self,record=None):
3959
3961
@logwrapper
3960
3962
def unload_all_recods (self ):
3961
3963
for record in librer_core .records :
3962
- self .unload_recod (record )
3964
+ self .unload_record (record )
3963
3965
3964
3966
@logwrapper
3965
3967
def show_log (self ):
0 commit comments