mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Use the configured time unit used for the event browser duration column
This commit is contained in:
@@ -284,6 +284,9 @@ void SettingsDialog::on_EventBrowser_TimeUnit_currentIndexChanged(int index)
|
||||
|
||||
m_Ctx.Config().EventBrowser_TimeUnit = (TimeUnit)ui->EventBrowser_TimeUnit->currentIndex();
|
||||
|
||||
if(m_Ctx.HasEventBrowser())
|
||||
m_Ctx.GetEventBrowser()->UpdateDurationColumn();
|
||||
|
||||
m_Ctx.Config().Save();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user