From 95ae695919515380f4e0e7b0e7b5fc73dfe72da4 Mon Sep 17 00:00:00 2001 From: duanshengchao <519970194@qq.com> Date: Tue, 6 May 2025 17:51:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=B1=9E=E6=80=A7=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=86=85=E9=83=A8=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/attributeTableModel.cpp | 2 +- ui/attributeSelector.ui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/attributeTableModel.cpp b/source/attributeTableModel.cpp index 51a398f..c25c700 100644 --- a/source/attributeTableModel.cpp +++ b/source/attributeTableModel.cpp @@ -551,7 +551,7 @@ void AttributeTableModel::forceRefresh() void AttributeTableModel::insertRecord(int row) { - if(row < 0 || row > rowCount()) + if(row < 0 /*|| row > rowCount()*/) return; RowData newRow; diff --git a/ui/attributeSelector.ui b/ui/attributeSelector.ui index bbc8030..3b25bac 100644 --- a/ui/attributeSelector.ui +++ b/ui/attributeSelector.ui @@ -6,7 +6,7 @@ 0 0 - 1042 + 998 492