mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
When searching start at selected not current event. Closes #1030
* When selecting a marker region, the more intuitive search is to find children of the marker first before searching onwards, even if the 'current event' is at the end of the marker region.
This commit is contained in:
@@ -1279,7 +1279,7 @@ void EventBrowser::Find(bool forward)
|
||||
if(ui->findEvent->text().isEmpty())
|
||||
return;
|
||||
|
||||
uint32_t curEID = m_Ctx.CurEvent();
|
||||
uint32_t curEID = m_Ctx.CurSelectedEvent();
|
||||
|
||||
RDTreeWidgetItem *node = ui->events->selectedItem();
|
||||
if(node)
|
||||
|
||||
Reference in New Issue
Block a user