Ticket #12616: reportbug-filezilla_diff3.txt

File reportbug-filezilla_diff3.txt, 923 bytes (added by Gert van de Kraats, 3 years ago)

patch

Line 
1--- filezilla-3.57.0_org/src/interface/Mainfrm.cpp 2021-11-23 05:30:03.000000000 +0100
2+++ ../srcfilezilla3/filezilla-3.57.0/src/interface/Mainfrm.cpp 2021-12-24 14:49:09.627384251 +0100
3@@ -1408,6 +1408,10 @@
4 CServerPath path = pState->GetLastServerPath();
5 Bookmark bm;
6 bm.m_remoteDir = path;
7+ bm.m_sync = site.m_default_bookmark.m_sync;
8+ if (bm.m_sync) {
9+ bm.m_localDir = pState->GetLocalDir().GetPath();
10+ }
11 ConnectToSite(site, bm);
12 }
13
14@@ -2809,6 +2813,10 @@
15 CServerPath path = pState->GetLastServerPath();
16 Bookmark bm;
17 bm.m_remoteDir = path;
18+ bm.m_sync = site.m_default_bookmark.m_sync;
19+ if (bm.m_sync) {
20+ bm.m_localDir = pState->GetLocalDir().GetPath();
21+ }
22 if (!ConnectToSite(site, bm, pState)) {
23 break;
24 }