mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-03 20:20:48 -06:00
Help text editor : Set text widget as read only
This commit is contained in:
parent
94e71b900c
commit
7b3155ab33
@ -1241,6 +1241,7 @@ void RiaGuiApplication::showFormattedTextInMessageBoxOrConsole(const QString& te
|
||||
formattedText = QString("<pre>%1</pre>").arg(formattedText);
|
||||
|
||||
textEdit->setText(formattedText);
|
||||
textEdit->setReadOnly(true);
|
||||
|
||||
// Resize dialog to fit text etc.
|
||||
textEdit->document()->adjustSize();
|
||||
|
Loading…
Reference in New Issue
Block a user