#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Wed, 12 Apr 2017 09:06:30 +0200
changeset 6146 3cf6c9894f53
parent 6145 e1001b131b15
child 6147 17a8d15d9b88
#BUGFIX by cg class: TextView changed: #editMenu
TextView.st
--- a/TextView.st	Tue Apr 11 03:35:45 2017 +0000
+++ b/TextView.st	Wed Apr 12 09:06:30 2017 +0200
@@ -2228,17 +2228,15 @@
                 ).
 
     m := PopUpMenu itemList:items resources:resources.
-    m := m asMenu.
     
     self hasSelectionForCopy ifFalse:[
-        "/ (i := m itemAtValue:#copySelection) notNil ifTrue:[i disable].
-        "/ (i := m itemAtValue:#copySelectionBox) notNil ifTrue:[i disable].
         m disable:#copySelection.
         m disable:#copySelectionBox.
     ].
+    m := m asMenu.
     ^ m
 
-    "Modified: / 14-03-2017 / 16:25:45 / cg"
+    "Modified: / 12-04-2017 / 09:06:22 / cg"
 !
 
 find