tui: fix flickering with large windows

Use newtPopWindowNoRefresh() rather than newtPopWindow() when
destroying a form, since often we have to destroy and then almost
immediately after re-create the same form, and we don't want that to
be visible.
This commit is contained in:
Dan Winship 2014-02-06 12:59:13 +01:00
parent 5d581b0d08
commit 6ee48dc964

View file

@ -262,7 +262,7 @@ nmt_newt_form_destroy (NmtNewtForm *form)
newtFormDestroy (priv->form);
priv->form = NULL;
newtPopWindow ();
newtPopWindowNoRefresh ();
nmt_newt_widget_unrealize (priv->content);
}