Skip to content
Snippets Groups Projects
Commit 8e7dae3c authored by inso's avatar inso
Browse files

Append instead of insert text

parent 0a12c68e
No related branches found
No related tags found
No related merge requests found
...@@ -458,6 +458,9 @@ p, li { white-space: pre-wrap; } ...@@ -458,6 +458,9 @@ p, li { white-space: pre-wrap; }
<property name="readOnly"> <property name="readOnly">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="textInteractionFlags">
<set>Qt::TextSelectableByMouse</set>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>
......
...@@ -33,6 +33,7 @@ class ConnectionConfigView(QDialog, Ui_ConnectionConfigurationDialog): ...@@ -33,6 +33,7 @@ class ConnectionConfigView(QDialog, Ui_ConnectionConfigurationDialog):
self.edit_salt.textChanged.connect(self.values_changed) self.edit_salt.textChanged.connect(self.values_changed)
self.edit_pubkey.textChanged.connect(self.values_changed) self.edit_pubkey.textChanged.connect(self.values_changed)
self.button_generate.clicked.connect(self.action_show_pubkey) self.button_generate.clicked.connect(self.action_show_pubkey)
self.text_license.setReadOnly(True)
self.combo_scrypt_params.currentIndexChanged.connect(self.handle_combo_change) self.combo_scrypt_params.currentIndexChanged.connect(self.handle_combo_change)
self.scrypt_params = ScryptParams(4096, 16, 1) self.scrypt_params = ScryptParams(4096, 16, 1)
...@@ -150,7 +151,7 @@ class ConnectionConfigView(QDialog, Ui_ConnectionConfigurationDialog): ...@@ -150,7 +151,7 @@ class ConnectionConfigView(QDialog, Ui_ConnectionConfigurationDialog):
Add log to Add log to
:param str log: :param str log:
""" """
self.plain_text_edit.insertPlainText("\n" + log) self.plain_text_edit.appendPlainText(log)
def progress(self, step_ratio): def progress(self, step_ratio):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment