summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mg_actions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mg_actions.c b/mg_actions.c
index 32179a6..b2e21f8 100644
--- a/mg_actions.c
+++ b/mg_actions.c
@@ -737,6 +737,7 @@ mgCreateCollection::Execute ()
if (created)
{
mgDebug(1,"created collection %s",name.c_str());
+ osd()->default_collection = name;
selection ()->clearCache();
osd()->forcerefresh = true;
}