X-Git-Url: http://git.nikiroo.be/?p=jvcard.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Fjvcard%2Ftui%2Fpanes%2FMainContent.java;h=0d873daa26287010a46183d84c001544b3601e93;hp=26cd7cb8ae330797e8394f27eb831762480241ac;hb=3634193b7a8927e68a3ae3d38fff4f6bd36c4ee5;hpb=9b8cb729d5105f34eb4b1e5975166c6c5f867fa2 diff --git a/src/be/nikiroo/jvcard/tui/panes/MainContent.java b/src/be/nikiroo/jvcard/tui/panes/MainContent.java index 26cd7cb..0d873da 100644 --- a/src/be/nikiroo/jvcard/tui/panes/MainContent.java +++ b/src/be/nikiroo/jvcard/tui/panes/MainContent.java @@ -101,6 +101,10 @@ abstract public class MainContent extends Panel { * Wake up call when the content is popped-back into view. You should call * this method when you exit a previous content and come back to this one. * + *

+ * By default, it will just refresh the data. + *

+ * * @return a message to display, or NULL * * @throws IOException @@ -108,6 +112,7 @@ abstract public class MainContent extends Panel { * be displayed to the user) */ public String wakeup() throws IOException { + refreshData(); return null; } }