浏览代码

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

Caused by incorrect merge d284d93a

Source commit: d4b08b04a3d9cd29aed15d27127a25b86ade6525
Martin Prikryl 11 月之前
父节点
当前提交
1b73ccd5e1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      source/forms/ScpCommander.cpp

+ 1 - 1
source/forms/ScpCommander.cpp

@@ -2368,7 +2368,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;
   }
 }