mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-15 14:22:57 -06:00
Bazaar-TabBarCtrl -- Fixed small bug
git-svn-id: svn://ultimatepp.org/upp/trunk@1943 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
bd392f0fc1
commit
93fa960c99
1 changed files with 1 additions and 1 deletions
|
|
@ -523,7 +523,7 @@ void TabBar::DoCloseGroup(int n)
|
|||
// we didn't cancel globally, now we check CancelClose()
|
||||
// for each tab -- group gets removed ONLY if ALL of
|
||||
// group tabs are closed
|
||||
for(int i = 0; i < tabs.GetCount(); i++) {
|
||||
for(int i = tabs.GetCount() - 1; i >= 0; i--) {
|
||||
if(groupName == tabs[i].group && tabs.GetCount() > 1) {
|
||||
Value v = tabs[i].key;
|
||||
if(!CancelClose(v))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue