diff options
author | Micah Lee <micah@micahflee.com> | 2020-06-28 12:25:54 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2020-06-28 12:25:54 -0700 |
commit | a87faa10183603297976dc1d1d8522fa02427958 (patch) | |
tree | 2894695e9fa448ebf63ebce157f94e210f6c3dcb /onionshare_gui | |
parent | 4f0958f14359ae98606db20e28b19d3d5426970a (diff) | |
parent | 4c18a72616070182157d134c116ca36b92d8822f (diff) | |
download | onionshare-a87faa10183603297976dc1d1d8522fa02427958.tar.gz onionshare-a87faa10183603297976dc1d1d8522fa02427958.zip |
Merge branch 'onionshare_gui/selectableURL' of https://github.com/codyroberts/onionshare into codyroberts-onionshare_gui/selectableURL
Diffstat (limited to 'onionshare_gui')
-rw-r--r-- | onionshare_gui/tab/server_status.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/onionshare_gui/tab/server_status.py b/onionshare_gui/tab/server_status.py index 0fbc11b6..e22e8547 100644 --- a/onionshare_gui/tab/server_status.py +++ b/onionshare_gui/tab/server_status.py @@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. import platform import textwrap from PyQt5 import QtCore, QtWidgets, QtGui +from PyQt5.QtCore import Qt from onionshare import strings @@ -85,6 +86,9 @@ class ServerStatus(QtWidgets.QWidget): self.url.setWordWrap(True) self.url.setMinimumSize(self.url.sizeHint()) self.url.setStyleSheet(self.common.gui.css["server_status_url"]) + self.url.setTextInteractionFlags( + Qt.TextSelectableByMouse | Qt.TextSelectableByKeyboard + ) self.copy_url_button = QtWidgets.QPushButton(strings._("gui_copy_url")) self.copy_url_button.setFlat(True) @@ -377,7 +381,7 @@ class ServerStatus(QtWidgets.QWidget): The server has finished starting. """ self.status = self.STATUS_STARTED - self.copy_url() + # self.copy_url() self.update() self.server_started_finished.emit() |