update LuaWindow output on-the-go (allow progress print)

This commit is contained in:
Robin Gareus 2016-10-06 18:35:29 +02:00
parent c2c5062539
commit f71ad74ca7
1 changed files with 1 additions and 0 deletions

View File

@ -312,6 +312,7 @@ LuaWindow::append_text (std::string s)
Glib::RefPtr<Gtk::TextBuffer> tb (outtext.get_buffer());
tb->insert (tb->end(), s + "\n");
scroll_to_bottom ();
Gtkmm2ext::UI::instance()->flush_pending (0.05);
}
void