diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-21 18:25:09 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-21 18:25:09 +0300 |
commit | 9c8cbd5cd300900617f1b3e8f67a9cd6f08624ee (patch) | |
tree | c522705013eb9409bdce862a4a0c15a8b06a82cc /src/ui/documentwidget.c | |
parent | 35b5ff92a5ab7d49bde2e572fc8d5de5367fb0db (diff) |
Preferences: Line width, 1st paragraph; tab switch keys
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 69dde8c7..2fc5c548 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -1075,6 +1075,9 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) | |||
1075 | invalidate_DocumentWidget_(d); | 1075 | invalidate_DocumentWidget_(d); |
1076 | refresh_Widget(w); | 1076 | refresh_Widget(w); |
1077 | } | 1077 | } |
1078 | else if (equal_Command(cmd, "document.layout.changed") && document_App() == d) { | ||
1079 | updateSize_DocumentWidget(d); | ||
1080 | } | ||
1078 | else if (equal_Command(cmd, "tabs.changed")) { | 1081 | else if (equal_Command(cmd, "tabs.changed")) { |
1079 | d->showLinkNumbers = iFalse; | 1082 | d->showLinkNumbers = iFalse; |
1080 | if (cmp_String(id_Widget(w), suffixPtr_Command(cmd, "id")) == 0) { | 1083 | if (cmp_String(id_Widget(w), suffixPtr_Command(cmd, "id")) == 0) { |