}
+void GuiApplication::resetGui()
+{
+ map<int, GuiView *>::iterator it;
+ for (it = views_.begin(); it != views_.end(); ++it)
+ it->second->resetDialogs();
+}
+
+
static void updateIds(map<int, GuiView *> const & stdmap, vector<int> & ids)
{
ids.clear();
GuiView * view = views_[id];
theLyXFunc().setLyXView(view);
- view->init();
view->show();
if (!geometry_arg.empty()) {
#ifdef Q_WS_WIN
}
-LyXView & GuiApplication::view(int id) const
+GuiView & GuiApplication::view(int id) const
{
BOOST_ASSERT(views_.find(id) != views_.end());
return *views_.find(id)->second;