mirror of https://gitlab.com/basile.b/dexed.git
fix, edit action copy/cut/paste were always greyed but shortcut were still working. flux.
This commit is contained in:
parent
f2c702757e
commit
61def85939
|
@ -768,9 +768,9 @@ begin
|
|||
hasEd := fDoc <> nil;
|
||||
if hasEd then
|
||||
begin
|
||||
actEdCopy.Enabled := fDoc.SelAvail and fEditWidg.Focused;
|
||||
actEdCut.Enabled := fDoc.SelAvail and fEditWidg.Focused;
|
||||
actEdPaste.Enabled := fDoc.CanPaste and fEditWidg.Focused;
|
||||
actEdCopy.Enabled := fDoc.SelAvail and fDoc.Focused;
|
||||
actEdCut.Enabled := fDoc.SelAvail and fDoc.Focused;
|
||||
actEdPaste.Enabled := fDoc.CanPaste and fDoc.Focused;
|
||||
{$IFDEF MSWINDOWS}
|
||||
// close file : raises a segfault on linux UndoStuff.>>fList<<.Count...
|
||||
actEdUndo.Enabled := fDoc.CanUndo;
|
||||
|
|
Loading…
Reference in New Issue