Commit f44b1320 authored by Kåre Särs's avatar Kåre Särs
Browse files

Build-plugin: Add building/ready indicator icons to the output tab

parent 1bd5682a
Pipeline #268171 passed with stage
in 14 minutes and 2 seconds
......@@ -786,6 +786,7 @@ bool KateBuildView::startProcess(const QString &dir, const QString &command)
// activate the output tab
m_buildUi.u_tabWidget->setCurrentIndex(1);
m_buildUi.u_tabWidget->setTabIcon(1, QIcon::fromTheme(QStringLiteral("system-run")));
m_displayModeBeforeBuild = m_buildUi.displayModeSlider->value();
m_buildUi.displayModeSlider->setValue(0);
m_win->showToolView(m_toolView);
......@@ -1031,6 +1032,7 @@ void KateBuildView::displayMessage(const QString &msg, KTextEditor::Message::Mes
void KateBuildView::slotProcExited(int exitCode, QProcess::ExitStatus)
{
m_targetsUi->unsetCursor();
m_buildUi.u_tabWidget->setTabIcon(1, QIcon::fromTheme(QStringLiteral("format-justify-left")));
m_buildUi.cancelBuildButton->setEnabled(false);
m_buildUi.cancelBuildButton2->setEnabled(false);
m_buildUi.buildAgainButton->setEnabled(true);
......
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