[Kst] [Bug 118737] Equation names generation could be improved
Andrew Walker
arwalker at sumusltd.com
Tue May 23 18:41:51 CEST 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=118737
------- Additional Comments From arwalker sumusltd com 2006-05-23 18:41 -------
SVN commit 544119 by arwalker:
CCBUG:118737 Do not remove '.' from equation name as there is no good reason to do so.
M +1 -1 ksteqdialog_i.cpp
--- trunk/extragear/graphics/kst/src/libkstapp/ksteqdialog_i.cpp #544118:544119
@ -144,7 +144,7 @
bool KstEqDialogI::newObject() {
QString tag_name = _tagName->text();
QString etext = _w->_equation->text();
- etext.remove(QRegExp("[^a-zA-Z0-9\\(\\)\\+\\-\\*/\\%\\^\\|\\&\\!<>=_]"));
+ etext.remove(QRegExp("[^a-zA-Z0-9\\(\\)\\+\\-\\*/\\%\\^\\|\\&\\!<>=_.]"));
if (etext.length() > 12) {
etext.truncate(12);
etext += "...";
More information about the Kst
mailing list