Browse Source

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 months ago
parent
commit
d97c3ecce1
1 changed files with 1 additions and 1 deletions
  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;
   }
 }