aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx3
1 files changed, 2 insertions, 1 deletions
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