Skip to content

Commit

Permalink
Fix hidden browsers showing up in Select window (#164)
Browse files Browse the repository at this point in the history
* Fix where thr browser won't hidden.

* Revert "Fix where thr browser won't hidden."

This reverts commit fca73eb.

* Refixing the Browser Hiding Code
  • Loading branch information
ArthurMacTavish authored Sep 23, 2024
1 parent a0dedeb commit df2d952
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Source/Hurl.BrowserSelector/Windows/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,11 @@ public void LoadBrowsers()
{
foreach (var browser in Settings.Browsers)
{
var browserBtn = new BrowserButton(browser);
BrowsersList.Children.Add(browserBtn);
if (!browser.Hidden)
{
var browserBtn = new BrowserButton(browser);
BrowsersList.Children.Add(browserBtn);
}
}
}

Expand Down

0 comments on commit df2d952

Please sign in to comment.