summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 2bce16e8..2fd5f148 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -3763,6 +3763,7 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd)
3763 return iFalse; 3763 return iFalse;
3764 } 3764 }
3765 else if (equal_Command(cmd, "theme.changed")) { 3765 else if (equal_Command(cmd, "theme.changed")) {
3766 invalidatePalette_GmDocument(d->view.doc);
3766 invalidateTheme_History(d->mod.history); /* forget cached color palettes */ 3767 invalidateTheme_History(d->mod.history); /* forget cached color palettes */
3767 if (document_App() == d) { 3768 if (document_App() == d) {
3768 updateTheme_DocumentWidget_(d); 3769 updateTheme_DocumentWidget_(d);