瀏覽代碼

Bug fix: Hang when trying to open an inaccessible drive from drive drop down menu

Caused by incorrect merge d284d93a

(cherry picked from commit 1b73ccd5e16a44515001b8b12b77fa1acc3a18e0)

Source commit: 3fe8bd0147b8906bd2f1443d4a61846046dff867
Martin Prikryl 11 月之前
父節點
當前提交
d97c3ecce1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      source/forms/ScpCommander.cpp

+ 1 - 1
source/forms/ScpCommander.cpp

@@ -2346,7 +2346,7 @@ void __fastcall TScpCommanderForm::DoLocalPathComboBoxItemClick(TDirView * ADirV
   {
     // Changing the path failed, reset the combo box back.
     // Does not recurse, so infinite recursion should not happen.
-    DoLocalPathComboBoxItemClick(ADirView, PathComboBox);
+    LocalPathComboUpdate(ADirView, PathComboBox);
     throw;
   }
 }