Skip to content

Commit

Permalink
Fix no sync on Save after explicit Sync
Browse files Browse the repository at this point in the history
- If file opened via `Open from Crowdin` or from cache
- Also as side effect to the case 3/4 of vslavik#641 (comment)
  (but IMO it's really very useful feature/addition)
  if `Sync` button was pressed at least once in above case - it means that customer intetned to
  sync that file with Crowdin so all futher `Save` will upload that file
  to Crowdin
  • Loading branch information
berezins committed Jul 12, 2020
1 parent ab32d20 commit 0cb32f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/edframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1865,6 +1865,7 @@ void PoeditFrame::OnUpdateFromCrowdin(wxCommandEvent&)
EnsureAppropriateContentView();
NotifyCatalogChanged(m_catalog);
RefreshControls();
m_catalog->AttachCloudSync(std::make_shared<CrowdinSyncDestination>());
});
}

Expand Down

0 comments on commit 0cb32f0

Please sign in to comment.