Commit aa1aac13 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Git: update status on init

parent c88a5f30
Pipeline #252528 passed with stage
in 25 minutes and 31 seconds
......@@ -354,6 +354,7 @@ void GitWidget::init()
m_updateTrigger.setSingleShot(true);
m_updateTrigger.setInterval(500);
connect(&m_updateTrigger, &QTimer::timeout, this, &GitWidget::slotUpdateStatus);
slotUpdateStatus();
connect(m_mainWin, &KTextEditor::MainWindow::viewChanged, this, &GitWidget::setActiveGitDir);
}
......
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