commit f12c4dbcd9499575255c812130640d33d5dbc0c1
Author: Stephan Witt <[email protected]>
Date:   Mon Feb 17 14:35:03 2020 +0100

    Remove unnecessary assertion after explicit buffer pointer check.
---
 src/frontends/qt/GuiView.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index 83a2593..8c25425 100644
--- a/src/frontends/qt/GuiView.cpp
+++ b/src/frontends/qt/GuiView.cpp
@@ -3544,7 +3544,6 @@ void GuiView::dispatchVC(FuncRequest const & cmd, 
DispatchResult & dr)
        case LFUN_VC_UNDO_LAST:
                if (!buffer)
                        break;
-               LASSERT(buffer, return);
                buffer->lyxvc().undoLast();
                reloadBuffer(*buffer);
                dr.clearMessageUpdate();
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to