Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Commit

Permalink
After debugging my changes in PR #51, I realized that when the user h…
Browse files Browse the repository at this point in the history
…as 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.
  • Loading branch information
Carlos Sánchez López committed Mar 21, 2019
1 parent 29ea48b commit aa3b287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PreferencesForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aa3b287

Please sign in to comment.