Dialog::disconnect();
ev->accept();
}
+ /// Any dialog that overrides this method should make sure to call it.
+ void hideEvent(QHideEvent * ev)
+ {
+ if (!ev->spontaneous()) {
+ clearParams();
+ Dialog::disconnect();
+ ev->accept();
+ }
+ }
};
} // namespace frontend
connect(textAfterED, SIGNAL(returnPressed()),
this, SLOT(on_okPB_clicked()));
- connect(this, SIGNAL(rejected()), this, SLOT(cleanUp()));
-
selectionManager = new GuiSelectionManager(availableLV, selectedLV,
addPB, deletePB, upPB, downPB, &available_model_, &selected_model_);
connect(selectionManager, SIGNAL(selectionChanged()),
}
-void GuiCitation::cleanUp()
-{
- clearParams();
- close();
-}
-
-
void GuiCitation::closeEvent(QCloseEvent * e)
{
clearSelection();