Skip to content

Commit

Permalink
Make maximal text length in method params editor 0x1fffffff
Browse files Browse the repository at this point in the history
  • Loading branch information
Fanda Vacek committed Oct 21, 2024
1 parent 7d83ce4 commit 1d47016
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion shvspy/src/appversion.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma once

#define APP_VERSION "1.9.11"
#define APP_VERSION "1.9.12"

1 change: 1 addition & 0 deletions shvspy/src/methodparametersdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ void MethodParametersDialog::switchToUInt(QTableWidget *table, int row, int col,
void MethodParametersDialog::switchToString(QTableWidget *table, int row, int col, QVector<ValueGetter> &getters, QVector<ValueSetter> &setters)
{
auto *line_edit = new QLineEdit(this);
line_edit->setMaxLength(std::numeric_limits<int>::max());
table->setCellWidget(row, col, line_edit);
getters[row] = [line_edit]() {
return cp::RpcValue(line_edit->text().toStdString());
Expand Down

0 comments on commit 1d47016

Please sign in to comment.