mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-24 14:22:40 -06:00
TabBar: Fixed TabBar 'Move right after' issue
git-svn-id: svn://ultimatepp.org/upp/trunk@12720 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
82dcb5dbf6
commit
9f8a72495b
1 changed files with 1 additions and 1 deletions
|
|
@ -473,7 +473,7 @@ void TabBar::ContextMenu(Bar& bar)
|
|||
Refresh();
|
||||
});;
|
||||
});
|
||||
if(tabs.GetCount() - 2 >= ii)
|
||||
if(tabs.GetCount() - 2 >= ii && ii >= 0)
|
||||
bar.Sub(t_("Move right after"), [=](Bar& bar) {
|
||||
for(int i = ii+1; i < tabs.GetCount(); i++)
|
||||
bar.Add(tabs[i].value.ToString(),[=] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue