mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-04-30 09:01:41 -04:00
fix: CViewObjects bug (#120)
fix bug (or feature) that left bar return to top when selected item is cancelled (press RB)
This commit is contained in:
parent
47a770cdcb
commit
82715d1d0b
1 changed files with 1 additions and 1 deletions
|
@ -2141,7 +2141,7 @@ void CIsoView::OnRButtonUp(UINT nFlags, CPoint point)
|
|||
AD.reset();
|
||||
|
||||
CMyViewFrame& frame = *((CMyViewFrame*)owner);
|
||||
frame.m_objectview->GetTreeCtrl().Select(frame.m_objectview->GetTreeCtrl().GetRootItem(), TVGN_CARET);
|
||||
frame.m_objectview->GetTreeCtrl().Select(NULL, TVGN_CARET);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue