From 3070f65d8043025320863a37498bdfc1d3751651 Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 22 Dec 2014 17:20:38 +0300 Subject: [PATCH] Issue #284 : message on not existing document simplification --- src/Model/Model_Document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index c4fb2e7aa..3dedf9e1a 100644 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -104,7 +104,7 @@ bool Model_Document::load(const char* theFileName) if (isError) { switch (aStatus) { case PCDM_RS_UnknownDocument: - Events_Error::send(std::string("Can not open document: unknown format")); + Events_Error::send(std::string("Can not open document")); break; case PCDM_RS_AlreadyRetrieved: Events_Error::send(std::string("Can not open document: already opened")); -- 2.39.2