diff --git a/src/frontends/qt4/ChangeLog b/src/frontends/qt4/ChangeLog index a612cc80ae..e33ead8d42 100644 --- a/src/frontends/qt4/ChangeLog +++ b/src/frontends/qt4/ChangeLog @@ -1,3 +1,7 @@ +2006-03-15 Abdelrazak Younes + + * QLPopupMenu.C: removed topLevelMenu_.clear() call. + 2006-03-15 Georg Baum * qfont_loader.C (isChosenFont): Xft-enabled Qt 4.1 seems to call diff --git a/src/frontends/qt4/QLPopupMenu.C b/src/frontends/qt4/QLPopupMenu.C index 9c3409e937..da42cbf518 100644 --- a/src/frontends/qt4/QLPopupMenu.C +++ b/src/frontends/qt4/QLPopupMenu.C @@ -70,8 +70,7 @@ void QLPopupMenu::update() lyxerr[Debug::GUI] << "\tTriggered menu: " << name_ << endl; clear(); - topLevelMenu_.clear(); - + if (name_.empty()) return;