Browse Source

Bug 1718: Renaming site on Login dialog cannot be committed using Enter key when it was started using Manage > Rename command

https://winscp.net/tracker/1718

Source commit: f868ef72da376eef04e86d25a7bd047f94e19792
Martin Prikryl 6 năm trước cách đây
mục cha
commit
a83e739539
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      source/forms/Login.cpp

+ 1 - 0
source/forms/Login.cpp

@@ -1807,6 +1807,7 @@ void __fastcall TLoginDialog::RenameSessionActionExecute(TObject * /*Sender*/)
   {
     // would be more appropriate in SessionTreeEditing, but it does not work there
     ResetSitesIncrementalSearch();
+    SessionTree->SetFocus();
     SessionTree->Selected->EditText();
   }
 }