Skip to content

Commit

Permalink
Streamlining S3 object indexing somewhat
Browse files Browse the repository at this point in the history
  • Loading branch information
flaskevann committed Sep 20, 2020
1 parent 6ecf58f commit b9e2013
Show file tree
Hide file tree
Showing 7 changed files with 169 additions and 108 deletions.
6 changes: 3 additions & 3 deletions MyS3.GUI/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,10 @@ private void TriggerUseMyS3Setups()

public void UseMyS3Setups()
{
if (!Tools.HasInternet()) return;

// Show or hide instructions and MyS3 tabs
noSetupsLabel.Visible = SetupStore.Entries.Count == 0;
mys3Tabs.Visible = SetupStore.Entries.Count > 0;

if (!Tools.HasInternet()) return;

// ---

Expand All @@ -153,6 +152,7 @@ public void UseMyS3Setups()
}
mys3Tabs.TabPages.Clear();
myS3s.Clear();
mys3Tabs.Visible = SetupStore.Entries.Count > 0;

// ---

Expand Down
50 changes: 25 additions & 25 deletions MyS3.GUI/MyS3Form.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b9e2013

Please sign in to comment.