diff options
author | Brian Hinz <bphinz@users.sourceforge.net> | 2013-03-01 00:55:42 +0000 |
---|---|---|
committer | Brian Hinz <bphinz@users.sourceforge.net> | 2013-03-01 00:55:42 +0000 |
commit | 8b61dd59f11bc5ad79a35d05977ddb0f73c0f392 (patch) | |
tree | b5e0998fd2bd21ed21fc8a1586f3d657314ce7a5 | |
parent | 299df6865f2f05a9f6feef9b4ac758e85672949f (diff) | |
download | tigervnc-8b61dd59f11bc5ad79a35d05977ddb0f73c0f392.tar.gz tigervnc-8b61dd59f11bc5ad79a35d05977ddb0f73c0f392.zip |
Make viewport the parent of "Save As" dialog so that the window frame icon is inherited correctly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5053 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r-- | java/com/tigervnc/vncviewer/F8Menu.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/tigervnc/vncviewer/F8Menu.java b/java/com/tigervnc/vncviewer/F8Menu.java index 9ef0c389..54a42535 100644 --- a/java/com/tigervnc/vncviewer/F8Menu.java +++ b/java/com/tigervnc/vncviewer/F8Menu.java @@ -126,7 +126,7 @@ public class F8Menu extends JPopupMenu implements ActionListener { Window fullScreenWindow = Viewport.getFullScreenWindow(); if (fullScreenWindow != null) Viewport.setFullScreenWindow(null); - int ret = fc.showOpenDialog(this); + int ret = fc.showOpenDialog(cc.viewport); if (fullScreenWindow != null) Viewport.setFullScreenWindow(fullScreenWindow); if (ret == JFileChooser.APPROVE_OPTION) { |