Browse Source

Avoid resetting the options whenever you click on the window.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4680 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.1.90
Pierre Ossman 12 years ago
parent
commit
33a233ba7c
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      vncviewer/OptionsDialog.cxx

+ 3
- 1
vncviewer/OptionsDialog.cxx View File

@@ -122,7 +122,9 @@ void OptionsDialog::removeCallback(OptionsCallback *cb)

void OptionsDialog::show(void)
{
loadOptions();
/* show() gets called for raise events as well */
if (!shown())
loadOptions();

Fl_Window::show();
}

Loading…
Cancel
Save