This commit is contained in:
JenneJ
2017-02-15 14:07:06 +01:00
parent 670f5a795a
commit a7ab84cc3f
4 changed files with 15 additions and 6 deletions

View File

@@ -116,7 +116,7 @@ Public Class frmMain
LabelProxyServer.Visibility = BarItemVisibility.Never
End If
End Sub
Public Shared Sub RUN_TIMER()
Public Sub RUN_TIMER()
Try
If TIMER_SCAN.Enabled = False And CURRENT_SCAN_FOLDERWATCH <> "" And FWSCAN_started = True Then
If System.IO.Directory.Exists(CURRENT_SCAN_FOLDERWATCH) = False Then
@@ -130,8 +130,7 @@ Public Class frmMain
If TIMER_SCAN.Enabled = True And CURRENT_SCAN_FOLDERWATCH <> "" And FWSCAN_started = True Then
TIMER_SCAN.Enabled = False
itemRefreshProxy.Visibility = BarItemVisibility.Always
BarButtonItemScan.visibility = always
itemScanInbox.Visibility = BarItemVisibility.Always
RUN_TIMER()
Else
TIMER_SCAN.Enabled = False