updateDialog("document", "");
updateDialogs();
+ resetWindowTitleAndIconText();
+
if (lyxrc.open_buffers_in_tabs)
// Nothing more to do, the window should stay open.
return;
updateDialog("document", "");
updateDialogs();
} else {
- setWindowTitle(qt_("LyX"));
- setWindowIconText(qt_("LyX"));
+ resetWindowTitleAndIconText();
}
setFocus();
return QMainWindow::event(e);
}
}
+void GuiView::resetWindowTitleAndIconText()
+{
+ setWindowTitle(qt_("LyX"));
+ setWindowIconText(qt_("LyX"));
+}
bool GuiView::focusNextPrevChild(bool /*next*/)
{