From df1f92bc67d964c4364e1af94249680ea42e6f1a Mon Sep 17 00:00:00 2001 From: "dev@dev.com" Date: Sun, 30 Oct 2022 21:15:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=AD=A3=E7=AC=94=E8=AF=AF=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E4=BE=BF=E4=BF=9D=E7=95=99=E4=B8=8A=E4=B8=80=E6=AC=A1?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=9A=84=E6=A8=A1=E5=9D=97=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- taskbusplatform/gui/pdesignerview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskbusplatform/gui/pdesignerview.cpp b/taskbusplatform/gui/pdesignerview.cpp index ad130a3..093dae7 100644 --- a/taskbusplatform/gui/pdesignerview.cpp +++ b/taskbusplatform/gui/pdesignerview.cpp @@ -914,7 +914,7 @@ void PDesignerView::on_action_rename_triggered() QString tooltip = project()->vec_cells()[node]->function_tooltip(func); bool ok; QString newtip = QInputDialog::getText(this,tr("Set Friendly Name"),tr("Tooltip"),QLineEdit::Normal, - func,&ok); + tooltip,&ok); if (ok && newtip.size()) project()->vec_cells()[node]->set_function_tooltip(func,newtip); -- GitLab