Skip to content

Commit bbd1777

Browse files
committed
make info text areas read only
1 parent 2effbd2 commit bbd1777

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/gui/qt/mainwindow.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ MainWindow::MainWindow(QApplication &app, QSplashScreen &splash) {
302302
QTextStream st(&file);
303303
s.append(st.readAll());
304304
QTextEdit *historyT = new QTextEdit;
305+
historyT->setReadOnly(true);
305306
historyT->setHtml(s);
306307

307308
//Contributors
@@ -312,6 +313,7 @@ MainWindow::MainWindow(QApplication &app, QSplashScreen &splash) {
312313
QTextStream st2(&file2);
313314
s2.append(st2.readAll());
314315
QTextEdit *contributorsT = new QTextEdit;
316+
contributorsT->setReadOnly(true);
315317
contributorsT->setHtml(s2);
316318

317319
//Community
@@ -322,6 +324,7 @@ MainWindow::MainWindow(QApplication &app, QSplashScreen &splash) {
322324
QTextStream st3(&file3);
323325
s3.append(st3.readAll());
324326
QTextEdit *communityT = new QTextEdit;
327+
communityT->setReadOnly(true);
325328
communityT->setHtml(s3);
326329

327330

0 commit comments

Comments
 (0)