X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-folder-view.c;h=41ad4b13b766d98c734954916a62717fdb5af2e2;hp=a7db8704ccc3a125f4f82b166dafcb64387cfcc5;hb=9ac452ac9a046897f12fefbe4223ae274c8a53fb;hpb=9ca65cac28078e4fa53547058d820d974517c6ae diff --git a/src/widgets/modest-folder-view.c b/src/widgets/modest-folder-view.c index a7db870..41ad4b1 100644 --- a/src/widgets/modest-folder-view.c +++ b/src/widgets/modest-folder-view.c @@ -49,6 +49,7 @@ #include #include #include +#include #include #include #include "modest-folder-view.h" @@ -1080,7 +1081,7 @@ on_account_changed (TnyAccountStore *account_store, /* Select the first INBOX if the currently selected folder belongs to the account that is being deleted */ - if (same_account) + if (same_account && !MODEST_IS_TNY_LOCAL_FOLDERS_ACCOUNT (tny_account)) g_idle_add (on_idle_select_first_inbox_or_local, self); }