diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-04 18:44:12 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-04 18:44:12 +0200 |
commit | 4afa201a99c9076a92a0d3089a826160e3b4cbdf (patch) | |
tree | 8de5caa0e79735b4034dcfde7e9edee269ae2988 /src | |
parent | 95cf3a1cdc3f3c7d57fefa7dd9547b13b721a558 (diff) |
App: Save bookmarks after changes
IssueID #24
Diffstat (limited to 'src')
-rw-r--r-- | src/app.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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_); |