mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-07 03:49:43 -05:00
Fix for forcing profile GUI text entry to plain text only
This commit is contained in:
@@ -46,6 +46,7 @@ AdditionalScriptsDialog::AdditionalScriptsDialog(openspace::Profile& profile,
|
||||
}
|
||||
|
||||
_textScripts = new QTextEdit;
|
||||
_textScripts->setAcceptRichText(false);
|
||||
layout->addWidget(_textScripts, 1);
|
||||
|
||||
{
|
||||
|
||||
@@ -219,6 +219,7 @@ KeybindingsDialog::KeybindingsDialog(openspace::Profile& profile, QWidget *paren
|
||||
_scriptLabel = new QLabel("Script");
|
||||
box->addWidget(_scriptLabel, 6, 0, 1, 2);
|
||||
_scriptEdit = new QTextEdit;
|
||||
_scriptEdit->setAcceptRichText(false);
|
||||
_scriptEdit->setToolTip("Command(s) to execute at keypress event");
|
||||
_scriptEdit->setTabChangesFocus(true);
|
||||
box->addWidget(_scriptEdit, 7, 0, 1, 2);
|
||||
|
||||
@@ -50,6 +50,7 @@ MetaDialog::MetaDialog(openspace::Profile& profile, QWidget *parent)
|
||||
|
||||
layout->addWidget(new QLabel("Description"));
|
||||
_descriptionEdit = new QTextEdit;
|
||||
_descriptionEdit->setAcceptRichText(false);
|
||||
_descriptionEdit->setTabChangesFocus(true);
|
||||
layout->addWidget(_descriptionEdit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user