mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Setup config before loading user data state that may want to overwrite it.
This commit is contained in:
parent
3c34d9d096
commit
f8023ba698
@ -85,6 +85,8 @@ View::View( void(*cbMainThread)(const std::function<void()>&, bool), FileRead& f
|
||||
m_notificationText = std::string( "Trace loaded in " ) + TimeToString( m_worker.GetLoadTime() );
|
||||
|
||||
InitTextEditor();
|
||||
SetupConfig( config );
|
||||
|
||||
m_vd.zvStart = m_worker.GetFirstTime();
|
||||
m_vd.zvEnd = m_worker.GetLastTime();
|
||||
m_userData.StateShouldBePreserved();
|
||||
@ -95,8 +97,6 @@ View::View( void(*cbMainThread)(const std::function<void()>&, bool), FileRead& f
|
||||
if( m_worker.GetCallstackFrameCount() == 0 ) m_showUnknownFrames = false;
|
||||
if( m_worker.GetCallstackSampleCount() == 0 ) m_showAllSymbols = true;
|
||||
|
||||
SetupConfig( config );
|
||||
|
||||
Achieve( "loadTrace" );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user