summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/dialog/backingwindow.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 52b45188be68..67738f454499 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -658,8 +658,16 @@ IMPL_LINK( BackingWindow, MenuSelectHdl, MenuButton*, pButton, void )
pArg[0].Value <<= OUString("private:user");
dispatchURL( ".uno:NewDoc", OUString(), xFrame, aArgs );
-
+ return;
}
+
+ mpAllRecentThumbnails->Hide();
+ mpLocalView->Show();
+ mpLocalView->reload();
+ mpLocalView->GrabFocus();
+ mpRecentButton->SetActive(false);
+ mpTemplateButton->SetActive(true);
+ mpRecentButton->Invalidate();
}
}