QTfrontend/ui/widget/drawmapwidget.cpp
changeset 14857 b9437746bffb
parent 13240 950186baa764
--- a/QTfrontend/ui/widget/drawmapwidget.cpp	Thu Apr 25 21:32:22 2019 +0300
+++ b/QTfrontend/ui/widget/drawmapwidget.cpp	Thu Apr 25 21:24:27 2019 +0200
@@ -154,6 +154,7 @@
             errorMsg.setIcon(QMessageBox::Warning);
             errorMsg.setWindowTitle(QMessageBox::tr("File error"));
             errorMsg.setText(QMessageBox::tr("Cannot open '%1' for writing").arg(fileName));
+            errorMsg.setTextFormat(Qt::PlainText);
             errorMsg.setWindowModality(Qt::WindowModal);
             errorMsg.exec();
         }
@@ -174,6 +175,7 @@
             errorMsg.setIcon(QMessageBox::Warning);
             errorMsg.setWindowTitle(QMessageBox::tr("File error"));
             errorMsg.setText(QMessageBox::tr("Cannot open '%1' for reading").arg(fileName));
+            errorMsg.setTextFormat(Qt::PlainText);
             errorMsg.setWindowModality(Qt::WindowModal);
             errorMsg.exec();
         }