disable undo/redo for now
This commit is contained in:
parent
8f0644e35b
commit
ff23f67ad5
1 changed files with 5 additions and 0 deletions
|
|
@ -178,6 +178,11 @@ func New(
|
||||||
IntitialMode: initialMode,
|
IntitialMode: initialMode,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if app.Version != "dev" {
|
||||||
|
delete(app.Commands, commands.MessagesUndoCommand)
|
||||||
|
delete(app.Commands, commands.MessagesRedoCommand)
|
||||||
|
}
|
||||||
|
|
||||||
return app, nil
|
return app, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue