Don't show Apply button as it doesn't work correctly, acked by Aaron

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815001
This commit is contained in:
Albert Astals Cid 2008-05-31 21:26:49 +00:00
parent 46eb057d98
commit cc3f0c3a90

View File

@ -1116,8 +1116,9 @@ void Applet::showConfigurationInterface()
createConfigurationInterface(dialog); createConfigurationInterface(dialog);
//TODO: would be nice to not show dialog if there are no pages added? //TODO: would be nice to not show dialog if there are no pages added?
connect(dialog, SIGNAL(finished()), nullManager, SLOT(deleteLater())); connect(dialog, SIGNAL(finished()), nullManager, SLOT(deleteLater()));
//TODO: Apply button does not correctly work for now, so do not show it
dialog->showButton( KDialog::Apply, false );
dialog->show(); dialog->show();
dialog->enableButtonApply(true);
} }
emit releaseVisualFocus(); emit releaseVisualFocus();