hlp:最多添加两个计数器,编辑计数器图元,只显示当前计数器的修改tab
This commit is contained in:
@@ -125,7 +125,7 @@ void PicCounterItem::setCustomAttrs(const QXmlStreamAttributes &attrs)
|
||||
|
||||
ok = false;
|
||||
int displayNum = displayNumRef.toInt(&ok);
|
||||
if(!ok || displayNum <= 0) {
|
||||
if(!ok /*|| displayNum <= 0*/) {
|
||||
qWarning() << "Invalied counter display number: " << displayNum;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user