[Uml-devel] [Bug 107101] Kubuntu 5.0.4 - Umbrello code generation error
Gregorio Guidi
g.guidi at sns.it
Wed Jul 6 23:25:27 UTC 2005
------- 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=107101
------- Additional Comments From g.guidi sns it 2005-07-06 23:32 -------
The workaround below should clarify the problem: the menu items in "Code -> Active Language" can have ampersands in them that umbrello does not expect.
Index: umbrello/umbrello/uml.cpp
===================================================================
--- umbrello/umbrello/uml.cpp (revision 428301)
+++ umbrello/umbrello/uml.cpp (working copy)
@ -1312,7 +1312,7 @
m_langSelect->setItemChecked(id,true);
- m_activeLanguage = m_langSelect->text(id);
+ m_activeLanguage = m_langSelect->text(id).remove('&');
// update the generator
setGenerator(createGenerator());
More information about the umbrello-devel
mailing list