mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Attempted to solve svn sync focus issue #556
git-svn-id: svn://ultimatepp.org/upp/trunk@6569 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1b34018aa0
commit
67714973af
1 changed files with 3 additions and 0 deletions
|
|
@ -331,6 +331,7 @@ void SvnSyncDirs(const Vector<String>& working)
|
|||
{
|
||||
if(!CheckSvn())
|
||||
return;
|
||||
Ptr<Ctrl> f = Ctrl::GetFocusCtrl();
|
||||
SvnSync svn;
|
||||
String msgs;
|
||||
LoadFromGlobal(msgs, "svn-msgs");
|
||||
|
|
@ -340,6 +341,8 @@ void SvnSyncDirs(const Vector<String>& working)
|
|||
svn.DoSync();
|
||||
msgs = svn.GetMsgs();
|
||||
StoreToGlobal(msgs, "svn-msgs");
|
||||
if(f)
|
||||
f->SetFocus();
|
||||
}
|
||||
|
||||
void Ide::SyncSvnDirs(const Vector<String>& working)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue