summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/impl
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/view/impl')
-rw-r--r--src/jrummikub/view/impl/View.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/jrummikub/view/impl/View.java b/src/jrummikub/view/impl/View.java
index 9a0bf9e..0f279ab 100644
--- a/src/jrummikub/view/impl/View.java
+++ b/src/jrummikub/view/impl/View.java
@@ -497,14 +497,15 @@ public class View extends JFrame implements IView {
@Override
public void showLoginPanel(boolean show) {
- if (show) {
- loginPanel.resetLoginPanel();
- }
-
loginPanel.setVisible(show);
}
@Override
+ public void resetLoginPanel() {
+ loginPanel.resetLoginPanel();
+ }
+
+ @Override
public void showGameListPanel(boolean show) {
if (show) {
gameListPanel.reset();