]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.C
fix crash after removing a table row (again due to uncorrected cursor
[lyx.git] / src / MenuBackend.C
index a4e02903c5b02db738fb7036efd1eca04ed58911..daa9cd040e3b182f69da28c51d11dfe9a6dfc8ce 100644 (file)
@@ -399,7 +399,7 @@ void Menu::checkShortcuts() const
 
 void MenuBackend::specialMenu(string const &name)
 {
-       if (hasMenu(name)) 
+       if (hasMenu(name))
                specialmenu_ = &getMenu(name);
 }
 
@@ -801,7 +801,7 @@ void MenuBackend::expand(Menu const & frommenu, Menu & tomenu,
                        break;
 
                case MenuItem::Command:
-                       if (!specialmenu_ 
+                       if (!specialmenu_
                            || !specialmenu_->hasFunc(cit->func()))
                                tomenu.add(*cit, view);
                }