summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-11-04 18:44:12 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-11-04 18:44:12 +0200
commit4afa201a99c9076a92a0d3089a826160e3b4cbdf (patch)
tree8de5caa0e79735b4034dcfde7e9edee269ae2988 /src
parent95cf3a1cdc3f3c7d57fefa7dd9547b13b721a558 (diff)
App: Save bookmarks after changes
IssueID #24
Diffstat (limited to 'src')
-rw-r--r--src/app.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.c b/src/app.c
index d6cd34a8..3a86150f 100644
--- a/src/app.c
+++ b/src/app.c
@@ -1176,6 +1176,10 @@ iBool handleCommand_App(const char *cmd) {
1176 postCommand_App("focus.set id:bmed.title"); 1176 postCommand_App("focus.set id:bmed.title");
1177 return iTrue; 1177 return iTrue;
1178 } 1178 }
1179 else if (equal_Command(cmd, "bookmarks.changed")) {
1180 save_Bookmarks(d->bookmarks, dataDir_App_);
1181 return iFalse;
1182 }
1179 else if (equal_Command(cmd, "ident.new")) { 1183 else if (equal_Command(cmd, "ident.new")) {
1180 iWidget *dlg = makeIdentityCreation_Widget(); 1184 iWidget *dlg = makeIdentityCreation_Widget();
1181 setCommandHandler_Widget(dlg, handleIdentityCreationCommands_); 1185 setCommandHandler_Widget(dlg, handleIdentityCreationCommands_);