diff -Nur Filezilla3/src/interface/Mainfrm.cpp Filezilla3.patch/src/interface/Mainfrm.cpp
old
|
new
|
|
911 | 911 | return; |
912 | 912 | } |
913 | 913 | |
| 914 | SetLabel(_T("FileZilla")); |
| 915 | |
914 | 916 | CServer server; |
915 | 917 | event.Enable(COptions::Get()->GetLastServer(server)); |
916 | 918 | } |
… |
… |
|
930 | 932 | return; |
931 | 933 | } |
932 | 934 | |
| 935 | SetLabel(_T("FileZilla - ") + server.FormatServer()); |
| 936 | |
933 | 937 | CServerPath path; |
934 | 938 | path.SetSafePath(COptions::Get()->GetOption(OPTION_LASTSERVERPATH)); |
935 | 939 | m_pState->Connect(server, false, path); |
… |
… |
|
1455 | 1459 | if (!CLoginManager::Get().GetPassword(pData->m_server, false, pData->m_name)) |
1456 | 1460 | return; |
1457 | 1461 | } |
| 1462 | |
| 1463 | SetLabel(_T("FileZilla - ") + pData->m_server.FormatServer()); |
1458 | 1464 | |
1459 | 1465 | m_pState->Connect(pData->m_server, true, pData->m_remoteDir); |
1460 | 1466 | |
diff -Nur Filezilla3/src/interface/quickconnectbar.cpp Filezilla3.patch/src/interface/quickconnectbar.cpp
old
|
new
|
|
108 | 108 | return; |
109 | 109 | } |
110 | 110 | |
| 111 | if (GetParent() != NULL) |
| 112 | GetParent()->SetLabel(_T("FileZilla - ") + server.FormatServer()); |
| 113 | |
111 | 114 | if (!m_pState->Connect(server, true)) |
112 | 115 | return; |
113 | 116 | |