X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathNest.h;h=f1cfdd8beb66fa4d2b6eee557928fd33bcbaa318;hb=71623b88b2c613dd4ab826a9783a53e840bcd6e1;hp=f1426350c3070145672610cd5913904612f1697a;hpb=ffacdd8b469071e34c27f93e6f5b95f7a960a694;p=features.git diff --git a/src/mathed/InsetMathNest.h b/src/mathed/InsetMathNest.h index f1426350c3..f1cfdd8beb 100644 --- a/src/mathed/InsetMathNest.h +++ b/src/mathed/InsetMathNest.h @@ -131,6 +131,9 @@ public: /// InsetCode lyxCode() const { return MATH_NEST_CODE; } + /// + bool confirmDeletion() const { return nargs() > 0; } + protected: /// InsetMathNest(InsetMathNest const & inset);