Skip to content

Commit aa3b287

Browse files
author
Carlos Sánchez López
committed
After debugging my changes in PR cwc#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.
1 parent 29ea48b commit aa3b287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PreferencesForm.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ private void PreferencesForm_Load(object sender, EventArgs e)
3232
else
3333
{
3434
multiScreenGroup.Enabled = true;
35-
SetMultiScreenButtonFromMode();
36-
ArrangeScreenTabs();
3735
}
36+
SetMultiScreenButtonFromMode();
37+
ArrangeScreenTabs();
3838
}
3939

4040
private void LoadValuesForTab(int screenNum)

0 commit comments

Comments
 (0)