This commit is contained in:
@@ -1828,7 +1828,7 @@ namespace Volian.Controls.Library
|
||||
public void SetRibbonForGrid()
|
||||
{
|
||||
// set to true if editing cell, otherwise false for grids
|
||||
bool enable = (MyFlexGrid.Editor != null);
|
||||
bool enable = (MyFlexGrid != null && MyFlexGrid.Editor != null);
|
||||
btnPaste.Enabled = enable;
|
||||
btnCopy.Enabled = enable;
|
||||
btnCut.Enabled = enable;
|
||||
|
Reference in New Issue
Block a user