From 7dfea35cd434a278b41573b96687d5acffe3ac02 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 19 Jun 2011 14:48:15 -0400 Subject: [PATCH] Minor improvement. --- tools/imglab/src/metadata_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/imglab/src/metadata_editor.cpp b/tools/imglab/src/metadata_editor.cpp index 97719087c..848aaa88f 100644 --- a/tools/imglab/src/metadata_editor.cpp +++ b/tools/imglab/src/metadata_editor.cpp @@ -241,7 +241,7 @@ select_image( lb_images.select(idx); load_image(idx); } - else + else if (lb_images.size() == 0) { display.clear_overlay(); array2d empty_img;