1.1 --- a/ornamentedobj.cpp Mon May 23 15:28:20 2005 +0000
1.2 +++ b/ornamentedobj.cpp Thu Sep 22 12:14:23 2005 +0000
1.3 @@ -199,13 +199,16 @@
1.4
1.5 void OrnamentedObj::updateNoteFlag()
1.6 {
1.7 - // text in NoteEditor has changed, notify MapEditor
1.8 - mapEditor->setChanged();
1.9 + if (selected)
1.10 + {
1.11 + // text in NoteEditor has changed, notify MapEditor
1.12 + mapEditor->setChanged();
1.13
1.14 - // save text
1.15 - setNote( textEditor->getText() );
1.16 + // save text
1.17 + setNote( textEditor->getText() );
1.18
1.19 - // save font
1.20 - note.setFontHint (textEditor->getFontHint() );
1.21 + // save font
1.22 + note.setFontHint (textEditor->getFontHint() );
1.23 + }
1.24 }
1.25