Commit e239cb31 authored by loh.tar's avatar loh.tar
Browse files

Don't rely on the user use exclusively the GUI

Prior to this patch, when the user staged something, was this not
recognized and ended in an error message when click the commit button
parent 013e080d
......@@ -290,6 +290,9 @@ GitWidget::GitWidget(KateProject *project, KTextEditor::MainWindow *mainWindow,
connect(&m_gitStatusWatcher, &QFutureWatcher<GitUtils::GitParsedStatus>::finished, this, &GitWidget::parseStatusReady);
connect(m_commitBtn, &QPushButton::clicked, this, &GitWidget::openCommitChangesDialog);
connect(m_commitBtn, &QPushButton::pressed, [=] {
// single / double click
connect(m_treeView, &QTreeView::clicked, this, &GitWidget::treeViewSingleClicked);
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