close event edit when finished
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sun, 3 Jan 2010 18:28:53 +0000 (18:28 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sun, 3 Jan 2010 18:28:53 +0000 (18:28 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@397 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

src/dialogs/eventedit.cpp

index a8d1b2d..f0f3cd8 100644 (file)
@@ -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()));