diff src/name/blackcap/clipman/Menus.kt @ 36:fcf82e3b7e31

Remove deadwood.
author David Barts <n5jrn@me.com>
date Thu, 30 Jan 2020 20:24:02 -0800
parents 5f8475b37e23
children 2a5808156f99
line wrap: on
line diff
--- a/src/name/blackcap/clipman/Menus.kt	Thu Jan 30 20:21:42 2020 -0800
+++ b/src/name/blackcap/clipman/Menus.kt	Thu Jan 30 20:24:02 2020 -0800
@@ -60,14 +60,9 @@
  */
 class SelectionRequired {
     private val controls = HashSet<JMenuItem>()
-    /* private val parents = HashSet<Container>() */
 
     fun add(item: JMenuItem): JMenuItem {
         controls.add(item)
-        /* var p = item.parent
-        if (p != null) {
-            parents.add(p)
-        } */
         return item
     }
 
@@ -75,9 +70,6 @@
         controls.forEach {
             it.setEnabled(state)
         }
-        /* parents.forEach {
-            it.validate()
-        } */
     }
 
     fun enable() = setEnabled(true)