mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
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:
parent
3b99db73e4
commit
08d8a8034f
@ -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();
|
||||
|
@ -137,8 +137,7 @@ void GuiCitation::cleanUp()
|
||||
void GuiCitation::closeEvent(QCloseEvent * e)
|
||||
{
|
||||
clearSelection();
|
||||
clearParams();
|
||||
e->accept();
|
||||
DialogView::closeEvent(e);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user