mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: Fixed WhenSel behaviour in TreeCtrl
git-svn-id: svn://ultimatepp.org/upp/trunk@6544 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a29771f740
commit
efde1af062
2 changed files with 5 additions and 2 deletions
|
|
@ -637,8 +637,8 @@ void TreeCtrl::SetCursorLine(int i, bool sc, bool sel, bool cb)
|
|||
RefreshLine(cursor);
|
||||
cursor = i;
|
||||
RefreshLine(cursor);
|
||||
if(m.ctrl && m.ctrl->SetWantFocus())
|
||||
return;
|
||||
if(m.ctrl)
|
||||
m.ctrl->SetWantFocus();
|
||||
if(cb) {
|
||||
WhenCursor();
|
||||
if(!multiselect) WhenSel();
|
||||
|
|
|
|||
|
|
@ -502,6 +502,9 @@ void Ide::DebugMenu(Bar& menu)
|
|||
menu.Add(!editfile.IsEmpty() /*&& !debuglock*/, AK_CLEARBREAKPOINTS, THISBACK(DebugClearBreakpoints))
|
||||
.Help("Clear all breakpoints");
|
||||
menu.Separator();
|
||||
DDUMP(target.GetCount());
|
||||
DDUMP(GetLogPath());
|
||||
DDUMP(FileExists(GetLogPath()));
|
||||
menu.Add(target.GetCount() && FileExists(GetLogPath()), AK_OPENLOG, THISBACK(OpenLog));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue