From afdbc949e18d0501429bea00fc4dd62d39f0403a Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 6 Jan 2006 11:15:23 +0000 Subject: Refresh some style data after calling UpdateUI notification in case container has modified a style setting. --- src/Editor.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index dfeb1a62d..d1abba7c7 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2724,7 +2724,6 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) { // paintingAllText, rcArea.left, rcArea.top, rcArea.right, rcArea.bottom); RefreshStyleData(); - RefreshPixMaps(surfaceWindow); PRectangle rcClient = GetClientRectangle(); @@ -2755,6 +2754,8 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) { if (needUpdateUI) { NotifyUpdateUI(); needUpdateUI = false; + RefreshStyleData(); + RefreshPixMaps(surfaceWindow); } // Call priority lines wrap on a window of lines which are likely -- cgit v1.2.3