Commit b82673c9 authored by mae's avatar mae
Browse files

do NOT steal the initial focus from the editor. Restore a session,

focus should be on the editor, not on some hidden tab widget on
the projects pane.
parent 591c1863
......@@ -131,8 +131,6 @@ ProjectWindow::~ProjectWindow()
void ProjectWindow::restoreStatus()
if (!m_treeWidget->currentItem() && m_treeWidget->topLevelItemCount()) {
m_treeWidget->setCurrentItem(m_treeWidget->topLevelItem(0), 0, QItemSelectionModel::SelectCurrent | QItemSelectionModel::Rows);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment