aboutsummaryrefslogtreecommitdiff
path: root/qdeduper
diff options
context:
space:
mode:
Diffstat (limited to 'qdeduper')
-rw-r--r--qdeduper/mingui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/qdeduper/mingui.cpp b/qdeduper/mingui.cpp
index d7c8ea4..6ddeda2 100644
--- a/qdeduper/mingui.cpp
+++ b/qdeduper/mingui.cpp
@@ -803,6 +803,11 @@ void DeduperMainWindow::show_group(size_t gid)
void DeduperMainWindow::show_marked()
{
+ if (marked.empty())
+ {
+ this->sb->showMessage("No marked images.", 1000);
+ return;
+ }
this->id->set_show_hotkey(false);
this->vm = ViewMode::view_marked;
std::vector<size_t> g;