From: konrad Date: Sun, 3 Jan 2010 18:28:53 +0000 (+0000) Subject: close event edit when finished X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=a264815ba792dbe014ebdb999ef9dc4bda33d664;p=web%2Fkonrad%2Fsmoke.git close event edit when finished git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@397 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/src/dialogs/eventedit.cpp b/src/dialogs/eventedit.cpp index a8d1b2d..f0f3cd8 100644 --- a/src/dialogs/eventedit.cpp +++ b/src/dialogs/eventedit.cpp @@ -157,7 +157,7 @@ MEventEditor::MEventEditor(QWidget*pw,qint64 id) vl->addLayout(hl=new QHBoxLayout,0); hl->addStretch(); hl->addWidget(p=new QPushButton(tr("Save"))); -// connect(p,SIGNAL(clicked()),this,SLOT(accept())); + connect(p,SIGNAL(clicked()),this,SLOT(accept())); connect(p,SIGNAL(clicked()),this,SLOT(writeBack())); hl->addWidget(p=new QPushButton(tr("Close"))); connect(p,SIGNAL(clicked()),this,SLOT(reject()));