瀏覽代碼

UpdateNotificationsBusy counter

(cherry picked from commit 042173622e53f40af7dcfba22c29da4eaaa37bd0)

Source commit: 2e4102b2652a8d3535b674b2954505590d0eefca
Martin Prikryl 8 年之前
父節點
當前提交
0db354afc1
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      source/forms/CustomScpExplorer.cpp

+ 4 - 0
source/forms/CustomScpExplorer.cpp

@@ -7782,6 +7782,10 @@ void __fastcall TCustomScpExplorerForm::UpdatesNoteClicked(TObject * /*Sender*/)
     Configuration->Usage->Inc(L"UpdateNotificationsClicked");
     Configuration->Usage->Inc(L"UpdateNotificationsClicked");
     CheckForUpdates(true);
     CheckForUpdates(true);
   }
   }
+  else
+  {
+    Configuration->Usage->Inc(L"UpdateNotificationsBusy");
+  }
 }
 }
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 void __fastcall TCustomScpExplorerForm::GetTransferPresetAutoSelectData(
 void __fastcall TCustomScpExplorerForm::GetTransferPresetAutoSelectData(