[Uml-devel] kdesdk/umbrello/umbrello/dialogs
Klas Kalass
klas.kalass at gmx.de
Sat Mar 22 11:19:06 UTC 2003
CVS commit by kalass:
disable the auto apply feature for pages in a dialog
M +2 -1 umbrellodialog.cpp 1.3
--- kdesdk/umbrello/umbrello/dialogs/umbrellodialog.cpp #1.2:1.3
@@ -21,5 +21,6 @@ UmbrelloDialog::~UmbrelloDialog()
void UmbrelloDialog::addPage( QWidget *page, const QString &title, const QPixmap &pixmap )
{
- //page->setAutoApply(false);
+ DialogPage *dpage = dynamic_cast<DialogPage*>(page);
+ if (dpage) dpage->setAutoApply(false);
connect(this,SIGNAL(cancelClicked()),page,SLOT(cancel()));
connect(this,SIGNAL(applyClicked()),page,SLOT(apply()));
More information about the umbrello-devel
mailing list