diff --git a/src/frontends/controllers/Kernel.C b/src/frontends/controllers/Kernel.C index 7a4ea142f6..c604f767b0 100644 --- a/src/frontends/controllers/Kernel.C +++ b/src/frontends/controllers/Kernel.C @@ -51,7 +51,7 @@ bool Kernel::isBufferAvailable() const { if (!lyxview_.view()) return false; - return lyxview_.view()->buffer(); + return lyxview_.view()->buffer() != 0; }