summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/impl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-06-21 16:25:17 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-06-21 16:25:17 +0200
commit39ba50e1acccea934d6d082f66d35559295d57b0 (patch)
tree01f2b3227ef5e2a4c837d3e1f284e7e5dbb2a88b /src/jrummikub/view/impl
parent7899a38fe63a819d405a18e0139cea6ff95aac33 (diff)
downloadJRummikub-39ba50e1acccea934d6d082f66d35559295d57b0.tar
JRummikub-39ba50e1acccea934d6d082f66d35559295d57b0.zip
Don't reset login panel after failed login
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@548 72836036-5685-4462-b002-a69064685172
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();