TEditor 50% complete
[fanfix.git] / src / jexer / TFileOpenBox.java
index a22483d8c9e8fc2810d04ea586c5b4ad92c5111e..0a69a972674fbc7f0b62d09c0239d356d8fea090 100644 (file)
@@ -3,7 +3,7 @@
  *
  * The MIT License (MIT)
  *
- * Copyright (C) 2016 Kevin Lamonte
+ * Copyright (C) 2017 Kevin Lamonte
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -126,7 +126,7 @@ public final class TFileOpenBox extends TWindow {
                 treeViewRoot = new TDirectoryTreeItem(treeView, newFilename,
                     true);
                 treeView.setTreeRoot(treeViewRoot, true);
-                treeView.reflow();
+                treeView.reflowData();
                 openButton.setEnabled(false);
                 directoryList.setPath(newFilename);
             }