ui/qt/text.cpp

changeset 672
1b08ba076b65
parent 597
fc85ca42a7ce
child 802
cc73993a3ff9
--- a/ui/qt/text.cpp	Fri Jul 18 21:49:29 2025 +0200
+++ b/ui/qt/text.cpp	Fri Jul 18 21:54:33 2025 +0200
@@ -62,7 +62,7 @@
     UI_APPLY_LAYOUT(ctn->layout, args);
     
     QTextEdit *textarea = new QTextEdit();
-    ctn->add(textarea, true);
+    ctn->add(textarea);
     
     QTextDocument *document = nullptr;
     
@@ -215,7 +215,7 @@
     UI_APPLY_LAYOUT(ctn->layout, args);
     
     QLineEdit *textfield = new QLineEdit();
-    ctn->add(textfield, false);
+    ctn->add(textfield);
     
     if(password) {
         textfield->setEchoMode(QLineEdit::Password);

mercurial