Skip to content

Commit

Permalink
Viewer: Honor default.turbovnc when resetting opts
Browse files Browse the repository at this point in the history
  • Loading branch information
dcommander committed Feb 19, 2025
1 parent 3335eea commit dc179c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ IllegalComponentStateException if "Remote desktop size" was changed to "Auto"
in the TurboVNC Viewer Options dialog while the viewer was actively receiving
framebuffer updates from a VNC server.

3. Fixed an issue whereby the "Reset all options to defaults" button in the
TurboVNC Viewer Options dialog did not take into account the values specified
in **~/.vnc/default.turbovnc**.


3.2 beta1
=========
Expand Down
1 change: 1 addition & 0 deletions java/com/turbovnc/vncviewer/OptionsDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,7 @@ public void actionPerformed(ActionEvent e) {
} else if (s instanceof JButton && (JButton)s == resetButton) {
Params oldParams = params;
params = new Params();
params.loadDefaults();
setOptions(desktopSize.isEnabled(), !shared.isEnabled(), false, false);
params = oldParams;
} else if (s instanceof JButton && (JButton)s == x509caButton) {
Expand Down

0 comments on commit dc179c9

Please sign in to comment.