mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
e9681bbe08
commit
453ce61191
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user