From 8eeb92aa5d10d7c4808d039e09b4b6626e380138 Mon Sep 17 00:00:00 2001 From: Ales Hvezda Date: Thu, 10 Jan 2008 23:51:08 -0500 Subject: [PATCH] When doing a find_text into hierarchy, the titlebar was not being updated Added a update call into o_edit_find_text that made sure the titlebar and scrollbars are properly updated when the found attribute is displayed. This addition will do a full redraw as well (not sure if that is going to cause problems at this point). --- gschem/src/o_misc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gschem/src/o_misc.c b/gschem/src/o_misc.c index b30131a73..056752feb 100644 --- a/gschem/src/o_misc.c +++ b/gschem/src/o_misc.c @@ -655,6 +655,10 @@ int o_edit_find_text(GSCHEM_TOPLEVEL *w_current, OBJECT * o_list, char *stext, o_current->text->x, o_current->text->y, 1, 0); + /* Make sure the titlebar and scrollbars are up-to-date */ + x_window_set_current_page(w_current, + w_current->toplevel->page_current ); + last_o = o_current; break; } -- 2.11.4.GIT