diff options
| author | 2008-08-28 14:06:13 +0000 | |
|---|---|---|
| committer | 2008-08-28 14:06:13 +0000 | |
| commit | 3617d0b27cf6c99a45f96c5431d2c8fbd5d174cb (patch) | |
| tree | 618dd727747335439c6da9fe59896546e5d44237 | |
| parent | initial work on STARTTLS protocol: KVIrc now knows how to handle it (diff) | |
| download | KVIrc-3617d0b27cf6c99a45f96c5431d2c8fbd5d174cb.tar.gz KVIrc-3617d0b27cf6c99a45f96c5431d2c8fbd5d174cb.tar.bz2 KVIrc-3617d0b27cf6c99a45f96c5431d2c8fbd5d174cb.zip | |
upported fix for #218
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2337 17fca916-40b9-46aa-a4ea-0a15b648b75c
| -rw-r--r-- | src/modules/eventeditor/eventeditor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/eventeditor/eventeditor.cpp b/src/modules/eventeditor/eventeditor.cpp index 85718ff84..eca6ee3b1 100644 --- a/src/modules/eventeditor/eventeditor.cpp +++ b/src/modules/eventeditor/eventeditor.cpp @@ -294,6 +294,8 @@ void KviEventEditor::saveLastEditedItem() if(!m_pLastEditedItem)return; QString buffer = m_pNameEditor->text(); + //not-so elaborate fix for #218, we'd better rework this + buffer.replace(QRegExp("[^A-Za-z0-9_]"), ""); if(!KviQString::equalCI(buffer,m_pLastEditedItem->m_szName)) { getUniqueHandlerName((KviEventListViewItem *)(m_pLastEditedItem->parent()),buffer); |
