[LyX/master] Fix disabling of LFUN_FONT_* lfuns with multi-cell table selection
Pavel Sanda
sanda at lyx.org
Mon Jul 13 13:46:56 UTC 2026
On Mon, Jul 13, 2026 at 11:40:27AM +0000, Juergen Spitzmueller wrote:
> commit bf8cc517a751f24276dd4b37bc36fa76041cc162
> Author: Juergen Spitzmueller <spitz at lyx.org>
> 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
More information about the lyx-devel
mailing list