projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Fixes #NB57458
[modest]
/
src
/
widgets
/
modest-window.c
diff --git
a/src/widgets/modest-window.c
b/src/widgets/modest-window.c
index
79aad9a
..
07629b0
100644
(file)
--- a/
src/widgets/modest-window.c
+++ b/
src/widgets/modest-window.c
@@
-156,7
+156,9
@@
modest_window_set_active_account (ModestWindow *self, const gchar *active_accoun
return;
else {
g_free (priv->active_account);
- priv->active_account = g_strdup (active_account);
+ priv->active_account = NULL;
+ if (active_account)
+ priv->active_account = g_strdup (active_account);
}
}