Commit 44d14967 authored by Gregor Mi's avatar Gregor Mi

Terminal Tool View: enable AutoSync by default

Summary:
Enable this hidden gem by default:

{F6388638}

Reviewers: #kate, dhaumann

Reviewed By: #kate, dhaumann

Subscribers: dhaumann, sars, ngraham, kwrite-devel

Tags: #kate

Differential Revision: https://phabricator.kde.org/D16650
parent dd6befb7
......@@ -390,7 +390,7 @@ void KateConsole::slotToggleFocus()
void KateConsole::readConfig()
{
disconnect(m_mw, &KTextEditor::MainWindow::viewChanged, this, &KateConsole::slotSync);
if ( KConfigGroup(KSharedConfig::openConfig(), "Konsole").readEntry("AutoSyncronize", false) ) {
if ( KConfigGroup(KSharedConfig::openConfig(), "Konsole").readEntry("AutoSyncronize", true) ) {
connect(m_mw, &KTextEditor::MainWindow::viewChanged, this, &KateConsole::slotSync);
}
......@@ -490,7 +490,7 @@ void KateKonsoleConfigPage::apply()
void KateKonsoleConfigPage::reset()
{
KConfigGroup config(KSharedConfig::openConfig(), "Konsole");
cbAutoSyncronize->setChecked(config.readEntry("AutoSyncronize", false));
cbAutoSyncronize->setChecked(config.readEntry("AutoSyncronize", true));
cbRemoveExtension->setChecked(config.readEntry("RemoveExtension", false));
lePrefix->setText(config.readEntry("RunPrefix", ""));
cbSetEditor->setChecked(config.readEntry("SetEditor", false));
......
Markdown is supported
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