mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-25 22:03:45 -06:00
TabBar: Fixed restoring group in serialization (no more auto splitting editor when compiling in ide)
git-svn-id: svn://ultimatepp.org/upp/trunk@2967 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
02bcf34efb
commit
ec0c1fdf3f
1 changed files with 4 additions and 1 deletions
|
|
@ -339,6 +339,8 @@ void TabBar::Set(const TabBar& t)
|
|||
tabs <<= t.tabs;
|
||||
groups.Clear();
|
||||
groups <<= t.groups;
|
||||
separators.Clear();
|
||||
separators <<= t.separators;
|
||||
|
||||
group = t.group;
|
||||
stackcount = t.stackcount;
|
||||
|
|
@ -2403,7 +2405,8 @@ void TabBar::Serialize(Stream& s)
|
|||
|
||||
int g = GetGroup();
|
||||
s % g;
|
||||
SetGroup(g);
|
||||
group = g;
|
||||
|
||||
Repos();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue