mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
[#81 state:fixed] Show a message dialog when a duplicate scan yields no result.
This commit is contained in:
@@ -249,7 +249,12 @@ class DupeGuru(DupeGuruBase, QObject):
|
||||
self.emit(SIGNAL('resultsChanged()'))
|
||||
if jobid == JOB_LOAD:
|
||||
self.emit(SIGNAL('directoriesChanged()'))
|
||||
if jobid in (JOB_MOVE, JOB_COPY, JOB_DELETE) and self.last_op_error_count > 0:
|
||||
elif jobid in (JOB_MOVE, JOB_COPY, JOB_DELETE) and self.last_op_error_count > 0:
|
||||
msg = "{0} files could not be processed.".format(self.results.mark_count)
|
||||
QMessageBox.warning(self.main_window, 'Warning', msg)
|
||||
elif jobid == JOB_SCAN:
|
||||
if not self.results.groups:
|
||||
title = "Scanning complete"
|
||||
msg = "No duplicates found."
|
||||
QMessageBox.information(self.main_window, title, msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user