From 308771f0bf2560eb8664979fd83b7f811e877b73 Mon Sep 17 00:00:00 2001 From: miruka Date: Thu, 25 Jun 2020 12:37:05 -0400 Subject: [PATCH] Limit max device name length to 255 --- src/gui/Pages/AccountSettings/DeviceDelegate.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/Pages/AccountSettings/DeviceDelegate.qml b/src/gui/Pages/AccountSettings/DeviceDelegate.qml index 8465f90e..cd892f61 100644 --- a/src/gui/Pages/AccountSettings/DeviceDelegate.qml +++ b/src/gui/Pages/AccountSettings/DeviceDelegate.qml @@ -84,6 +84,7 @@ HTile { HTextField { id: nameField defaultText: model.display_name + maximumLength: 255 horizontalAlignment: Qt.AlignHCenter onAccepted: renameDeviceRequest(text)