diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-04 14:35:29 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-04 22:24:43 +0200 |
commit | 179913000184c7f7f482167192a8f968bf5e773d (patch) | |
tree | 8b11bd6e8cc665c25a4a64db647358a9464e186f /src/app.c | |
parent | 6b503898dfd52ea342d64a6611878aa05719fa51 (diff) |
Save identity usage changes immediately
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1921,6 +1921,10 @@ iBool handleCommand_App(const char *cmd) { | |||
1921 | postCommand_App("idents.changed"); | 1921 | postCommand_App("idents.changed"); |
1922 | return iTrue; | 1922 | return iTrue; |
1923 | } | 1923 | } |
1924 | else if (equal_Command(cmd, "idents.changed")) { | ||
1925 | saveIdentities_GmCerts(d->certs); | ||
1926 | return iFalse; | ||
1927 | } | ||
1924 | else if (equal_Command(cmd, "os.theme.changed")) { | 1928 | else if (equal_Command(cmd, "os.theme.changed")) { |
1925 | if (d->prefs.useSystemTheme) { | 1929 | if (d->prefs.useSystemTheme) { |
1926 | const int dark = argLabel_Command(cmd, "dark"); | 1930 | const int dark = argLabel_Command(cmd, "dark"); |