Commit 98b1b9be authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/iteminfo.cpp: expand info tree by default.

parent 4667e2d7
...@@ -166,8 +166,7 @@ wxPanel *ItemInfoDialog::InfoPanel( wxWindow* parent ) ...@@ -166,8 +166,7 @@ wxPanel *ItemInfoDialog::InfoPanel( wxWindow* parent )
wxStaticText *author_label = wxStaticText *author_label =
new wxStaticText( info_panel, -1, wxU(_("Author")) ); new wxStaticText( info_panel, -1, wxU(_("Author")) );
author_text = author_text = new wxTextCtrl( info_panel, Uri_Event,
new wxTextCtrl( info_panel, Uri_Event,
wxU( playlist_ItemGetInfo( p_item, wxU( playlist_ItemGetInfo( p_item,
_("General"), _("Author") ) ), _("General"), _("Author") ) ),
wxDefaultPosition, wxSize( 300, -1 ), wxDefaultPosition, wxSize( 300, -1 ),
...@@ -225,8 +224,7 @@ wxPanel *ItemInfoDialog::GroupPanel( wxWindow* parent ) ...@@ -225,8 +224,7 @@ wxPanel *ItemInfoDialog::GroupPanel( wxWindow* parent )
group_combo = new wxComboBox( group_subpanel, -1, group_combo = new wxComboBox( group_subpanel, -1,
wxT(""),wxDefaultPosition, wxDefaultSize, wxT(""),wxDefaultPosition, wxDefaultSize,
0, NULL, 0, NULL, wxCB_READONLY );
wxCB_READONLY );
wxButton *newgroup_button = new wxButton( group_subpanel, New_Event, wxButton *newgroup_button = new wxButton( group_subpanel, New_Event,
wxU(_("New Group"))); wxU(_("New Group")));
...@@ -291,6 +289,8 @@ void ItemInfoDialog::UpdateInfo() ...@@ -291,6 +289,8 @@ void ItemInfoDialog::UpdateInfo()
wxT(": ") + wxT(": ") +
wxU(p_item->input.pp_categories[i]->pp_infos[j]->psz_value) ); wxU(p_item->input.pp_categories[i]->pp_infos[j]->psz_value) );
} }
info_tree->Expand( cat );
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment