Browse Source

Added check after going through gtk_events.

merge-requests/365/head
Ole Christian Eidheim 10 years ago
parent
commit
72cb162ba1
  1. 1
      src/window.cc

1
src/window.cc

@ -650,6 +650,7 @@ void Window::goto_line_entry() {
buffer->place_cursor(buffer->get_iter_at_line(line));
while(gtk_events_pending())
gtk_main_iteration();
if(notebook.get_current_page()!=-1)
notebook.get_current_view()->scroll_to(buffer->get_insert(), 0.0, 1.0, 0.5);
}
}

Loading…
Cancel
Save