aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/vncviewer/CConn.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/tigervnc/vncviewer/CConn.java')
-rw-r--r--java/com/tigervnc/vncviewer/CConn.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/com/tigervnc/vncviewer/CConn.java b/java/com/tigervnc/vncviewer/CConn.java
index 22cbe1fc..0ad69067 100644
--- a/java/com/tigervnc/vncviewer/CConn.java
+++ b/java/com/tigervnc/vncviewer/CConn.java
@@ -79,7 +79,7 @@ public class CConn extends CConnection
pendingPFChange = false;
currentEncoding = Encodings.encodingTight; lastServerEncoding = -1;
fullColour = viewer.fullColour.getValue();
- lowColourLevel = 2;
+ lowColourLevel = viewer.lowColourLevel.getValue();
autoSelect = viewer.autoSelect.getValue();
formatChange = false; encodingChange = false;
fullScreen = viewer.fullScreen.getValue();
@@ -766,8 +766,8 @@ public class CConn extends CConnection
public void setOptions() {
int digit;
- options.autoSelect.setSelected(viewer.autoSelect.getValue());
- options.fullColour.setSelected(viewer.fullColour.getValue());
+ options.autoSelect.setSelected(autoSelect);
+ options.fullColour.setSelected(fullColour);
options.veryLowColour.setSelected(!fullColour && lowColourLevel == 0);
options.lowColour.setSelected(!fullColour && lowColourLevel == 1);
options.mediumColour.setSelected(!fullColour && lowColourLevel == 2);