mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-22 02:40:04 +00:00
if delete disable clipboard
This commit is contained in:
parent
fbc291c177
commit
b64514c557
1 changed files with 2 additions and 1 deletions
|
@ -409,6 +409,7 @@ class Cli
|
||||||
# @args: id -> the item's id
|
# @args: id -> the item's id
|
||||||
# force -> no resquest a validation
|
# force -> no resquest a validation
|
||||||
def delete(id, force=false)
|
def delete(id, force=false)
|
||||||
|
@clipboard = false
|
||||||
item = @mpw.search_by_id(id)
|
item = @mpw.search_by_id(id)
|
||||||
|
|
||||||
if item.nil?
|
if item.nil?
|
||||||
|
|
Loading…
Add table
Reference in a new issue