From 1d470165c957d939def1de0591059e4b83397a3a Mon Sep 17 00:00:00 2001 From: Fanda Vacek Date: Mon, 21 Oct 2024 18:02:37 +0200 Subject: [PATCH] Make maximal text length in method params editor 0x1fffffff --- shvspy/src/appversion.h | 2 +- shvspy/src/methodparametersdialog.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/shvspy/src/appversion.h b/shvspy/src/appversion.h index df9036b..06d9efe 100644 --- a/shvspy/src/appversion.h +++ b/shvspy/src/appversion.h @@ -1,4 +1,4 @@ #pragma once -#define APP_VERSION "1.9.11" +#define APP_VERSION "1.9.12" diff --git a/shvspy/src/methodparametersdialog.cpp b/shvspy/src/methodparametersdialog.cpp index 97828ac..538fcf6 100644 --- a/shvspy/src/methodparametersdialog.cpp +++ b/shvspy/src/methodparametersdialog.cpp @@ -330,6 +330,7 @@ void MethodParametersDialog::switchToUInt(QTableWidget *table, int row, int col, void MethodParametersDialog::switchToString(QTableWidget *table, int row, int col, QVector &getters, QVector &setters) { auto *line_edit = new QLineEdit(this); + line_edit->setMaxLength(std::numeric_limits::max()); table->setCellWidget(row, col, line_edit); getters[row] = [line_edit]() { return cp::RpcValue(line_edit->text().toStdString());