diff --git a/modules/gui/src/file_loader.cc b/modules/gui/src/file_loader.cc index 99a3da1f03ac99aa56bb75839c591db9b5159437..c9d958acf815dca5caf6b3ca06d178ebd3e44595 100644 --- a/modules/gui/src/file_loader.cc +++ b/modules/gui/src/file_loader.cc @@ -261,7 +261,7 @@ gfx::GfxObjP FileLoader::TryLoadMap(const QString& filename, io::MapIOHandlerPtr //FIXME ImageHandle should not be destroyed at the end of method //therefore hack with list loaded_images_.append(map); - GostyApp::Instance()->CreateDataViewer(loaded_images_.last()); + GostyApp::Instance()->CreateDataViewer(loaded_images_.last(),filename); throw io::IOFileAlreadyLoadedException("Loaded in DataViewer"); } }