Matched source locations and histogram default to open.

This commit is contained in:
Bartosz Taudul 2018-03-24 02:45:24 +01:00
parent fea0234a60
commit 40a14292b3

View File

@ -2751,7 +2751,7 @@ void View::DrawFindZone()
if( !m_findZone.match.empty() )
{
ImGui::Separator();
bool expand = ImGui::TreeNode( "Matched source locations" );
bool expand = ImGui::TreeNodeEx( "Matched source locations", ImGuiTreeNodeFlags_DefaultOpen );
ImGui::SameLine();
ImGui::TextDisabled( "(%zu)", m_findZone.match.size() );
if( expand )
@ -2778,7 +2778,7 @@ void View::DrawFindZone()
ImGui::Separator();
if( ImGui::TreeNode( "Histogram" ) )
if( ImGui::TreeNodeEx( "Histogram", ImGuiTreeNodeFlags_DefaultOpen ) )
{
const auto ty = ImGui::GetFontSize();