Kaydet (Commit) 068178ad authored tarafından Eike Rathke's avatar Eike Rathke

Revert "tdf#90695: In function Wizard Array box cannot be unchecked"

This reverts commit bebc20c6.

Removing the disabling is plain wrong. Please see the code for when the button is disabled, when it is enabled, and what consequences it has when changing the state from checked to unchecked. Unchecking will result in the formula not being applied as array formula anymore, which it was before editing.

Actually tdf#90695 is not even a bug. The checked but disabled Array button is meant as an indicator that the formula IS an array/matrix formula.

Change-Id: Ic7f9f7010ce208171ef614e0885474f2deae4ac9
Reviewed-on: https://gerrit.libreoffice.org/19602Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: 's avatarEike Rathke <erack@redhat.com>
üst ac5b2047
......@@ -1572,6 +1572,7 @@ bool FormulaDlg_Impl::CheckMatrix(OUString& aFormula)
{
aFormula = aFormula.copy( 1, aFormula.getLength()-2 );
m_pBtnMatrix->Check( bMatrix );
m_pBtnMatrix->Disable();
} // if ( bMatrix )
m_pTabCtrl->SetCurPageId(TP_STRUCT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment