Revert "Clear empty selections in GuiView after dispatch"

This reverts commit fb05011ad0,
which lead to various menu-related crashes, such as when
going to Help > About.
This commit is contained in:
Scott Kostyshak 2014-08-03 18:37:45 -04:00
parent e9681bbe08
commit 453ce61191

View File

@ -3834,11 +3834,6 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
if (menuBar()->isVisible() && lyxrc.full_screen_menubar)
menuBar()->hide();
}
// Clear non-empty selections
Cursor & cur = bv->cursor();
if (cur.selection() && cur.selBegin() == cur.selEnd())
cur.clearSelection();
}