Commit 879241e5 authored by Dominik Haumann's avatar Dominik Haumann
Browse files

show 'Apply' button in kate part config dialog

Thanks to Fabian Kosmale for the patch! Keep it coming :-)

REVIEW: 109094
BUG: 314732
FIXED-IN: 4.10.1
parent f42e50b8
......@@ -303,7 +303,7 @@ void KateGlobal::configDialog(QWidget *parent)
{
QPointer<KPageDialog> kd = new KPageDialog(parent);
kd->setCaption( i18n("Configure") );
kd->setButtons( KDialog::Ok | KDialog::Cancel | KDialog::Help );
kd->setButtons( KDialog::Ok | KDialog::Cancel | KDialog::Apply | KDialog::Help );
kd->setFaceType( KPageDialog::List );
kd->setHelp( QString(), KGlobal::mainComponent().componentName() );
......@@ -323,6 +323,7 @@ void KateGlobal::configDialog(QWidget *parent)
topLayout->setMargin( 0 );
KTextEditor::ConfigPage *cp = configPage(i, page);
connect(kd, SIGNAL(applyClicked ( )), cp, SLOT(apply()));
topLayout->addWidget( cp);
editorPages.append (cp);
}
......
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