Fix initial state for "delete selected row(s)" in data grid. All other TDataSet Actions get enabled/disabled automagically by Delphi but actDatasetDelete is the only one of them which has an OnExecute procedure which seems to avoid Delphi of doing this enabling/disabling

This commit is contained in:
Ansgar Becker
2008-07-05 11:27:34 +00:00
parent 31460322f5
commit 38f8740eb3

View File

@@ -948,6 +948,7 @@ object MainForm: TMainForm
object actDataSetDelete: TDataSetDelete
Category = 'Data'
Caption = '&Delete'
Enabled = False
Hint = 'Delete'
ImageIndex = 46
ShortCut = 16430