diff src/viewer_swing/java/com/glavsoft/viewer/Viewer.java @ 401:94c520535ef1

Fix selection panel
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 18:21:46 +0900
parents 845698fd6fb6
children 73c96a1d4a3a
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java	Tue Oct 13 17:45:16 2015 +0900
+++ b/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java	Tue Oct 13 18:21:46 2015 +0900
@@ -367,8 +367,8 @@
         } else {
             cp.findTreeVncRoot();
 
-            // selected "Start as TreeVNC Root" for start selection panel
-            if (cp.isRootMode()) {
+            // selected "Start Display Mode" or "Start as TreeVNC Root" for start selection panel
+            if (cp.isDisplayMode() || cp.isRootMode()) {
                 myRfb = rfb;
                 return;
             }