diff options
Diffstat (limited to 'vncviewer/Viewport.cxx')
-rw-r--r-- | vncviewer/Viewport.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index ae9aa106..8d57e9bd 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -89,9 +89,8 @@ Viewport::Viewport(int w, int h, const rfb::PixelFormat& serverPF, CConn* cc_) // reparenting to the current window works for most cases. window()->add(contextMenu); - initContextMenu(); - setMenuKey(); + initContextMenu(); OptionsDialog::addCallback(handleOptions, this); } |