D21876: When loading a session always restore the open recent list

Ahmad Samir noreply at phabricator.kde.org
Wed Jul 3 19:48:06 BST 2019


ahmadsamir added a comment.


  KateSessionManager::saveSessionTo(), only saves the window configuration, when the same condition is true:
  (KConfigGroup(KSharedConfig::openConfig(), "General")).readEntry("Restore Window Configuration", true)
  
  KateMainWindow::readProperties() mainly does three things:
  KateApp::self()->pluginManager()->enableAllPluginsGUI();
  m_fileOpenRecent->loadEntries(KConfigGroup(config.config(), "Recent Files"));
  m_viewManager->restoreViewConfiguration(config);
  
  IIUC, nothing to do with KMainWindow configuration per se: https://api.kde.org/frameworks/kxmlgui/html/classKMainWindow.html

REPOSITORY
  R40 Kate

REVISION DETAIL
  https://phabricator.kde.org/D21876

To: ahmadsamir, #kate, cullmann, dhaumann
Cc: cfeck, kwrite-devel, domson, michaelh, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190703/505ddf09/attachment.html>


More information about the KWrite-Devel mailing list