aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vncviewer/OptionsDialog.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx
index 7543579e..86291404 100644
--- a/vncviewer/OptionsDialog.cxx
+++ b/vncviewer/OptionsDialog.cxx
@@ -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();
}