diff src/viewer_swing/java/com/glavsoft/viewer/Viewer.java @ 89:1503a373ab73

close client correctly in -d mode.
author oc
date Fri, 09 May 2014 19:20:33 +0900
parents 432dac0b9dae
children 44f5cdc63a76
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java	Thu May 01 19:12:05 2014 +0900
+++ b/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java	Fri May 09 19:20:33 2014 +0900
@@ -236,7 +236,7 @@
         
         connectionPresenter.setConnectionWorkerFactory(
                 new SwingConnectionWorkerFactory(connectionView.getFrame(), passwordFromParams, connectionPresenter, viewerWindowFactory, myRfb));
-
+        connectionPresenter.setNeedReconnection(!noConnection);
         connectionPresenter.startConnection(settings, uiSettings, paramsMask);
 	}