mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-07 15:35:47 +12:00
No need to wait till upload is done to open file
This commit is contained in:
parent
aeaa54cb3a
commit
f24a3e2e04
|
@ -404,14 +404,6 @@ private void UpdateControls()
|
|||
|
||||
if (uim.IsItemSelected)
|
||||
{
|
||||
if (GetCurrentTasks().Any(x => x.IsWorking))
|
||||
{
|
||||
tsmiStopUpload.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
tsmiShowErrors.Visible = uim.SelectedItem.Info.Result.IsError;
|
||||
|
||||
// Open
|
||||
tsmiOpen.Visible = true;
|
||||
|
||||
|
@ -424,6 +416,14 @@ private void UpdateControls()
|
|||
tsmiOpenFolder.Enabled = uim.SelectedItem.IsFileExist;
|
||||
tsmiOpenThumbnailFile.Enabled = uim.SelectedItem.IsThumbnailFileExist;
|
||||
|
||||
if (GetCurrentTasks().Any(x => x.IsWorking))
|
||||
{
|
||||
tsmiStopUpload.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
tsmiShowErrors.Visible = uim.SelectedItem.Info.Result.IsError;
|
||||
|
||||
// Copy
|
||||
tsmiCopy.Visible = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue