B2017-128 disable the merge table cells button if only one table cell is selected
This commit is contained in:
parent
850acf34b4
commit
c1bbd219a3
@ -1377,7 +1377,8 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
if (MyFlexGrid != null )
|
||||
{
|
||||
btnTblDgnMergeCells.Enabled = btnCmGridMergeCells.Enabled = !MyFlexGrid.IsRoTable && !MyFlexGrid.IsInMergeRange();
|
||||
// B2017-128 added check for only one cell selected (should not be alowed to merge just a single cell)
|
||||
btnTblDgnMergeCells.Enabled = btnCmGridMergeCells.Enabled = !MyFlexGrid.IsRoTable && !MyFlexGrid.IsInMergeRange() && !MyFlexGrid.Selection.IsSingleCell;
|
||||
}
|
||||
}
|
||||
private void SetButtonMenuEnabledDisabledOnSelection(bool setting)
|
||||
|
Loading…
x
Reference in New Issue
Block a user