TFileOpenBox working
[fanfix.git] / src / jexer / TWidget.java
index 29b6c72217e546abe52fb58749e97dd1b89a9d0d..91bcfced72e81128b581c6049975485fd0446f77 100644 (file)
@@ -762,8 +762,7 @@ public abstract class TWidget implements Comparable<TWidget> {
     public void onKeypress(final TKeypressEvent keypress) {
 
         if ((children.size() == 0)
-            // TODO
-            // || (cast(TTreeView)this)
+            || (this instanceof TTreeView)
             || (this instanceof TText)
         ) {