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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 4ac48323..7a297aa7 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1529,6 +1529,11 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd)
1529 animatePlayers_DocumentWidget_(d); 1529 animatePlayers_DocumentWidget_(d);
1530 return iFalse; 1530 return iFalse;
1531 } 1531 }
1532 else if (equal_Command(cmd, "tab.created")) {
1533 /* Space for tab buttons has changed. */
1534 updateWindowTitle_DocumentWidget_(d);
1535 return iFalse;
1536 }
1532 else if (equal_Command(cmd, "server.showcert") && d == document_App()) { 1537 else if (equal_Command(cmd, "server.showcert") && d == document_App()) {
1533 const char *unchecked = red_ColorEscape "\u2610"; 1538 const char *unchecked = red_ColorEscape "\u2610";
1534 const char *checked = green_ColorEscape "\u2611"; 1539 const char *checked = green_ColorEscape "\u2611";
@@ -2228,6 +2233,7 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e
2228 if (d->menu) { 2233 if (d->menu) {
2229 destroy_Widget(d->menu); 2234 destroy_Widget(d->menu);
2230 } 2235 }
2236 setFocus_Widget(NULL);
2231 iArray items; 2237 iArray items;
2232 init_Array(&items, sizeof(iMenuItem)); 2238 init_Array(&items, sizeof(iMenuItem));
2233 if (d->contextLink) { 2239 if (d->contextLink) {