Skip to content

Commit

Permalink
Prevent ref menu from showing when a directory is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusDoe committed Dec 23, 2024
1 parent 24da115 commit ba4e6a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
menu
refListMenu: aMenu
^ (self activeWorkingCopy ifNil: [^ aMenu])
menu: aMenu forRef: self activeRef
self activeWorkingCopy ifNil: [^ aMenu].
self activeRefTreeMember ifNil: [^ aMenu].
self activeRefTreeMember ref = self activeRef ifFalse: [^ aMenu].
^ self activeWorkingCopy menu: aMenu forRef: self activeRef
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"otherMenu:" : "mad 12/22/2024 01:50",
"projectListMenu:" : "mad 12/21/2024 22:09",
"refChanged:" : "mad 12/17/2024 19:08",
"refListMenu:" : "mad 12/22/2024 00:03",
"refListMenu:" : "mad 12/23/2024 19:54",
"refTree" : "mad 12/16/2024 22:03",
"refTree:" : "mad 12/16/2024 22:03",
"refTreeRoots" : "mad 12/16/2024 21:55",
Expand Down

0 comments on commit ba4e6a0

Please sign in to comment.