summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/dlg/present.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/dlg/present.cxx b/sd/source/ui/dlg/present.cxx
index 51f49bc03032..285eb73b2776 100644
--- a/sd/source/ui/dlg/present.cxx
+++ b/sd/source/ui/dlg/present.cxx
@@ -255,10 +255,12 @@ void SdStartPresentationDlg::InitMonitorSettings()
}
if (nSelectedIndex < 0)
+ {
if (nDefaultSelectedDisplay < 0)
nSelectedIndex = 0;
else
nSelectedIndex = nDefaultDisplayIndex;
+ }
maLBMonitor.SelectEntryPos((sal_uInt16)nSelectedIndex);
}