Patrick Atamaniuk wrote:
> I need this :-)
> 
> One annoying glitch though:
>  if i check 'Use long table' and Apply, then the apply button gets
> disabled and stays so. Cannot edit any table setting anymore.
> The table settings are absolutely useless, after longtable has been checked.
> 
> 1. make a new table
> 2. open table settings
> 3. check 'use long table'
> 4. apply
> 5. try to make any other setting or uncheck 'use long table' - it
> won't have an effect
> 
> I traced it down to InsetTabular.cpp:4327 , action 75
>               case Tabular::SET_TABULAR_WIDTH:
>                       status.setEnabled(!tabular.rotate &&  
> !tabular.is_long_tabular
>                               && tabular.tabular_valignment == 
> Tabular::LYX_VALIGN_MIDDLE);
>                       break;
> This is called at lfun_ok calculation from
> InsetParamsDialog::checkWidgets and will set the status to not
> enabled, where get_status stops and the applyPB will be disabled.
> 
> 'immediate apply' option is not affecting anything either.
> 
> I'm absolutely clueless why action 75 (Tabular::SET_TABULAR_WIDTH) is
> queried at this point and where to avoid this other than to comment
> out above setEnabled call - so no patch from me :(

please push this into bug tracker otherwise it gets forgotten.
pavel

Reply via email to