mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
TabBar: Minor close behaviour change
git-svn-id: svn://ultimatepp.org/upp/trunk@2563 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
865226f977
commit
32a8dd18d4
1 changed files with 2 additions and 2 deletions
|
|
@ -374,10 +374,10 @@ void TabBar::ContextMenu(Bar& bar)
|
|||
bar.Separator();
|
||||
}
|
||||
bool sep = true;
|
||||
if (highlight >= 0) {
|
||||
if (GetCursor() >= 0) {
|
||||
bar.Separator();
|
||||
sep = false;
|
||||
bar.Add(t_("Close others"), THISBACK1(CloseAll, highlight));
|
||||
bar.Add(t_("Close others"), THISBACK1(CloseAll, GetCursor()));
|
||||
}
|
||||
if (mintabcount <= 0) {
|
||||
if (sep) bar.Separator();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue