Skip to content

Commit 3b6de61

Browse files
committed
Disable upload button when not connected
1 parent 02e1dda commit 3b6de61

File tree

2 files changed

+22
-30
lines changed

2 files changed

+22
-30
lines changed

SteamCloudFileManager/MainForm.Designer.cs

Lines changed: 21 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SteamCloudFileManager/MainForm.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ private void connectButton_Click(object sender, EventArgs e)
3939
storage = RemoteStorage.CreateInstance(uint.Parse(appIdTextBox.Text));
4040
//storage = new RemoteStorageLocal("remote", uint.Parse(appIdTextBox.Text));
4141
refreshButton.Enabled = true;
42+
uploadButton.Enabled = true;
4243
refreshButton_Click(this, EventArgs.Empty);
4344
}
4445
catch (Exception ex)

0 commit comments

Comments
 (0)