Fix ClassCastException
[nikiroo-utils.git] / src / jexer / TApplication.java
index 57d60955e33a1f1d4b21a2069e8b930c922d0124..66f711017604bfb1f37b89fb5ad91612ec4eee78 100644 (file)
@@ -2512,6 +2512,10 @@ public class TApplication implements Runnable {
             showAboutDialog();
             return true;
         }
+        if (menu.getId() == TMenu.MID_REPAINT) {
+            doRepaint();
+            return true;
+        }
         return false;
     }