The InsetPrintNomenclature settings make no sense with nomentbl

This commit is contained in:
Juergen Spitzmueller 2024-08-22 08:17:33 +02:00
parent 33869b62bf
commit b73000a495
2 changed files with 7 additions and 1 deletions

View File

@ -507,4 +507,10 @@ string InsetPrintNomencl::contextMenuName() const
} }
bool InsetPrintNomencl::hasSettings() const
{
return !contains(buffer().params().nomencl_opts, "nomentbl");
}
} // namespace lyx } // namespace lyx

View File

@ -91,7 +91,7 @@ public:
/// ///
InsetCode lyxCode() const override; InsetCode lyxCode() const override;
/// ///
bool hasSettings() const override { return true; } bool hasSettings() const override;
/// ///
int rowFlags() const override { return Display; } int rowFlags() const override { return Display; }
/// ///