From 10153f76a14a7b66e3c936b3249bec0c76835984 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Sun, 19 Jun 2011 22:27:24 +0200 Subject: Fix mock and tests git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@493 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/SaveControl.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/jrummikub/control/SaveControl.java') diff --git a/src/jrummikub/control/SaveControl.java b/src/jrummikub/control/SaveControl.java index 31e7a12..4134aec 100644 --- a/src/jrummikub/control/SaveControl.java +++ b/src/jrummikub/control/SaveControl.java @@ -49,14 +49,15 @@ public class SaveControl { view.getQuitWarningPanel().setMode(QuitMode.QUIT_GAME); view.showQuitWarningPanel(true); - tempConnection=view.getQuitWarningPanel().getQuitEvent().add(new IListener() { - @Override - public void handle() { - view.showQuitWarningPanel(false); - view.load(); - tempConnection.remove(); - } - }); + tempConnection = view.getQuitWarningPanel().getQuitEvent() + .add(new IListener() { + @Override + public void handle() { + view.showQuitWarningPanel(false); + view.load(); + tempConnection.remove(); + } + }); } }); view.getLoadFileEvent().add(new IListener1() { -- cgit v1.2.3