Rainie3535 / sigil

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

Deleting one file does not give a warning dialog #1235

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Delete one file - no warning message (unlike if you delete multiple selected 
files)

To fix:

BookBrowser::Remove line 539
change
    else if ( resource_type == Resource::HTMLResourceType && resources.count() > 1 )

to
    else if ( resource_type == Resource::HTMLResourceType && resources.count() >= 1 )

Original issue reported on code.google.com by meme90...@gmail.com on 6 Feb 2012 at 7:49

GoogleCodeExporter commented 9 years ago

Original comment by john@nachtimwald.com on 7 Feb 2012 at 2:36

GoogleCodeExporter commented 9 years ago

Original comment by daveheil...@gmail.com on 19 May 2012 at 3:20