Commit b8fa82ce authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/messages.cpp: fixed insertion point in messages window.

parent 37e87108
......@@ -95,9 +95,9 @@ Messages::Messages( intf_thread_t *_p_intf, wxWindow *p_parent ):
clear_button->SetDefault();
/* Create the Save Log button */
wxButton *save_log_button = new wxButton( messages_panel, wxID_SAVEAS,
wxU(_("Save As...")));
save_log_button->SetDefault();
wxButton *save_log_button = new wxButton( messages_panel, wxID_SAVEAS,
wxU(_("Save As...")));
save_log_button->SetDefault();
/* Place everything in sizers */
wxBoxSizer *buttons_sizer = new wxBoxSizer( wxHORIZONTAL );
......@@ -143,6 +143,8 @@ void Messages::UpdateLog()
int i_stop = *p_sub->pi_stop;
vlc_mutex_unlock( p_sub->p_lock );
textctrl->SetInsertionPointEnd();
if( p_sub->i_start != i_stop )
{
for( i_start = p_sub->i_start;
......
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