jay823001 / autokey

Automatically exported from code.google.com/p/autokey
GNU General Public License v3.0
0 stars 0 forks source link

No confimation dialog when deleting a script or phrase. #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Open a script or phrase in AutoKey.
2.  Don't do this on a script you want to keep!: Press Control-D or select
the Delete menu item.

What is the expected output? What do you see instead?
I would expect a confirmation dialog box for deleting the item.
Or, I might (mistakenly) expect a line to be deleted in the script or phrase.

The script or phrase is immediately deleted.
The configuration file where it is stored is immediately updated for the
deletion.
On the latest version (0.70), even the hidden backup of the file is
immediately updated (an additional issue, I think).
There is no undo or other means of recovery.

What version of the product are you using? On what operating system?
v0.70 on Ubuntu Hardy

Please provide any additional information below.
Here is a version of ConfigWindow.on_delete_item that asks for confirmation
of any delete:
http://paste.pocoo.org/show/200672/

Original issue reported on code.google.com by dv8box-...@yahoo.com on 12 Apr 2010 at 1:43

GoogleCodeExporter commented 9 years ago
Update:
http://paste.pocoo.org/show/200698/

Original comment by dv8box-...@yahoo.com on 12 Apr 2010 at 2:51

GoogleCodeExporter commented 9 years ago

Original comment by cdekter on 12 Apr 2010 at 4:18

GoogleCodeExporter commented 9 years ago

Original comment by cdekter on 12 Apr 2010 at 7:13