"docs/vscode:/vscode.git/clone" did not exist on "06427dfab12b8cb149809ca17ddfa61c97b7b70e"
Commit 738b4d36 authored by Davis King's avatar Davis King
Browse files

Made imglab show the name of the current image in the title bar.

parent 6e0f13ba
......@@ -20,7 +20,7 @@
#include <dlib/dir_nav.h>
const char* VERSION = "1.2";
const char* VERSION = "1.3";
......
......@@ -87,7 +87,6 @@ metadata_editor(
get_display_size(screen_width, screen_height);
set_pos((screen_width-width)/2, (screen_height-height)/2);
set_title("Image Labeler - " + metadata.name);
show();
}
......@@ -430,7 +429,7 @@ load_image(
try
{
dlib::load_image(img, metadata.images[idx].filename);
set_title(metadata.name + ": " +metadata.images[idx].filename);
}
catch (exception& e)
{
......@@ -458,7 +457,7 @@ load_image_and_set_size(
try
{
dlib::load_image(img, metadata.images[idx].filename);
set_title(metadata.name + ": " +metadata.images[idx].filename);
}
catch (exception& e)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment