Fix citation dialog bug.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25169 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-06-06 15:53:02 +00:00
parent 3b99db73e4
commit 08d8a8034f
2 changed files with 2 additions and 2 deletions

View File

@ -45,6 +45,7 @@ protected:
bool initialiseParams(std::string const & /*data*/) { return true; }
void clearParams() {}
//@}
/// Any dialog that overrides this method should make sure to call it.
void closeEvent(QCloseEvent * ev)
{
clearParams();

View File

@ -137,8 +137,7 @@ void GuiCitation::cleanUp()
void GuiCitation::closeEvent(QCloseEvent * e)
{
clearSelection();
clearParams();
e->accept();
DialogView::closeEvent(e);
}