From aa3b287f42caa4d1ff7004864833299b14eac4e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20S=C3=A1nchez=20L=C3=B3pez?= Date: Wed, 20 Mar 2019 19:25:52 -0700 Subject: [PATCH] After debugging my changes in PR #51, I realized that when the user has multiple monitors, but then changes to 1 monitor, the preferences form shows the single screen tab list empty, instead of showing all the previously saved websites. By moving two function calls inside PreferencesForm_Load outside the if/else, we ensure that switching from 1 to multi monitors, and back, will always show the expected list of pages in the expected tabs. --- PreferencesForm.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PreferencesForm.cs b/PreferencesForm.cs index 3c43c1a..a394667 100644 --- a/PreferencesForm.cs +++ b/PreferencesForm.cs @@ -32,9 +32,9 @@ private void PreferencesForm_Load(object sender, EventArgs e) else { multiScreenGroup.Enabled = true; - SetMultiScreenButtonFromMode(); - ArrangeScreenTabs(); } + SetMultiScreenButtonFromMode(); + ArrangeScreenTabs(); } private void LoadValuesForTab(int screenNum)