diff src/gui/widgets/text.cpp @ 51:75c804f713b2

window: add about window, *: use tr() when applicable (useful for i18n)
author Paper <mrpapersonic@gmail.com>
date Mon, 25 Sep 2023 20:29:26 -0400
parents 10868c3fb2be
children 4c6dd5999b39
line wrap: on
line diff
--- a/src/gui/widgets/text.cpp	Mon Sep 25 13:50:56 2023 -0400
+++ b/src/gui/widgets/text.cpp	Mon Sep 25 20:29:26 2023 -0400
@@ -146,7 +146,6 @@
 
 /* inherits QPlainTextEdit and gives a much more reasonable minimum size */
 Paragraph::Paragraph(QString text, QWidget* parent) : QPlainTextEdit(text, parent) {
-	setReadOnly(true);
 	setTextInteractionFlags(Qt::TextBrowserInteraction);
 	setFrameShape(QFrame::NoFrame);
 	setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);