Re: [LyX/master] Fix disabling of LFUN_FONT_* lfuns with multi-cell table selection

Pavel Sanda <[email protected]> Mon, 13 Jul 2026 15:46:56 +0200
Newsgroups gmane.editors.lyx.devel
Message-ID <[email protected]>
On Mon, Jul 13, 2026 at 11:40:27AM +0000, Juergen Spitzmueller wrote:
> commit bf8cc517a751f24276dd4b37bc36fa76041cc162
> Author: Juergen Spitzmueller <[email protected]>
> Date:   Mon Jul 13 13:39:12 2026 +0200
> 
>     Fix disabling of LFUN_FONT_* lfuns with multi-cell table selection
...
> +	case LFUN_TEXTSTYLE_UPDATE: {
> +		if (cur.selIsMultiCell()) {
> +			row_type rs, re;
> +			col_type cs, ce;
> +			getSelection(cur, rs, re, cs, ce);
> +			bool enable;

This one is never used:
insets/InsetTabular.cpp: In member function 'virtual bool lyx::InsetTabular::getStatus(lyx::Cursor&, const lyx::FuncRequest&, lyx::FuncStatus&) const':
insets/InsetTabular.cpp:6888:30: warning: unused variable 'enable' [-Wunused-variable]
 6888 |                         bool enable;

Pavel
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel