File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -3312,16 +3312,14 @@ impl Tab {
33123312 }
33133313 Message :: ContextMenu ( point_opt, _) => {
33143314 self . edit_location = None ;
3315- if point_opt. is_none ( ) || !mod_shift {
3316- self . context_menu = point_opt;
3317- self . location_context_menu_index = None ;
3315+ self . context_menu = point_opt;
3316+ self . location_context_menu_index = None ;
33183317
3319- //TODO: hack for clearing selecting when right clicking empty space
3320- if self . context_menu . is_some ( ) && self . last_right_click . take ( ) . is_none ( ) {
3321- if let Some ( ref mut items) = self . items_opt {
3322- for item in items. iter_mut ( ) {
3323- item. selected = false ;
3324- }
3318+ //TODO: hack for clearing selecting when right clicking empty space
3319+ if self . context_menu . is_some ( ) && self . last_right_click . take ( ) . is_none ( ) {
3320+ if let Some ( ref mut items) = self . items_opt {
3321+ for item in items. iter_mut ( ) {
3322+ item. selected = false ;
33253323 }
33263324 }
33273325 }
You can’t perform that action at this time.
0 commit comments