Remove game from library and server

This commit is contained in:
Aurélie Delhaie
2022-07-20 19:57:40 +02:00
parent 5d96a98b5e
commit 37a8b48330
17 changed files with 164 additions and 58 deletions

View File

@@ -94,12 +94,15 @@ namespace OpenSaveCloudClient
pathButton.Enabled = true;
LocationBox.Enabled = true;
LocationBox.Text = selectedItem.SubItems[2].Text;
infoPathLabel.Text = String.Format("A '{0}' folder will be created", selectedItem.SubItems[0].Text);
infoPathLabel.Visible = true;
}
} else
{
pathButton.Enabled = false;
LocationBox.Enabled = false;
infoPathLabel.Visible = false;
LocationBox.Clear();
}
}
@@ -122,7 +125,7 @@ namespace OpenSaveCloudClient
{
foreach (ListViewItem lvi in RemoteList.CheckedItems)
{
string path = lvi.SubItems[2].Text;
string path = Path.Join(lvi.SubItems[2].Text, lvi.SubItems[0].Text);
if (string.IsNullOrWhiteSpace(path))
{
MessageBox.Show("File folder cannot be empty", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);