Set plain text mode for gamecfg labels (scheme, style)
authorWuzzy <Wuzzy2@mail.ru>
Thu, 22 Mar 2018 13:29:07 +0100
changeset 13269 ad6c8069fe1a
parent 13268 0f7623f722dc
child 13270 8a5feb0edce5
Set plain text mode for gamecfg labels (scheme, style)
QTfrontend/ui/widget/gamecfgwidget.cpp
--- a/QTfrontend/ui/widget/gamecfgwidget.cpp	Thu Mar 22 13:18:45 2018 +0100
+++ b/QTfrontend/ui/widget/gamecfgwidget.cpp	Thu Mar 22 13:29:07 2018 +0100
@@ -117,6 +117,7 @@
 
     ScriptsLabel = new QLabel(this);
     ScriptsLabel->setHidden(true);
+    ScriptsLabel->setTextFormat(Qt::PlainText);
     GBoxOptionsLayout->addWidget(ScriptsLabel, 1, 1);
 
     connect(Scripts, SIGNAL(currentIndexChanged(int)), this, SLOT(scriptChanged(int)));
@@ -133,6 +134,7 @@
 
     GameSchemesLabel = new QLabel(SchemeWidget);
     GameSchemesLabel->setHidden(true);
+    GameSchemesLabel->setTextFormat(Qt::PlainText);
     SchemeWidgetLayout->addWidget(GameSchemesLabel, 0, 2);
 
     connect(GameSchemes, SIGNAL(currentIndexChanged(int)), this, SLOT(schemeChanged(int)));
@@ -160,6 +162,7 @@
 
     WeaponsNameLabel = new QLabel(SchemeWidget);
     WeaponsNameLabel->setHidden(true);
+    WeaponsNameLabel->setTextFormat(Qt::PlainText);
     SchemeWidgetLayout->addWidget(WeaponsNameLabel, 1, 2);
 
     connect(WeaponsName, SIGNAL(currentIndexChanged(int)), this, SLOT(ammoChanged(int)));