OSDN Git Service

Correct more problems in the logic where the note title is dynamically updated from...
authorRandy Baumgarte <randy@fbn.cx>
Thu, 5 Jan 2012 15:39:24 +0000 (10:39 -0500)
committerRandy Baumgarte <randy@fbn.cx>
Thu, 5 Jan 2012 15:39:24 +0000 (10:39 -0500)
src/cx/fbn/nevernote/gui/BrowserWindow.java

index d90d8dd..bb5c05a 100644 (file)
@@ -2169,7 +2169,7 @@ public class BrowserWindow extends QWidget {
                                titleLabel.blockSignals(false);\r
                        }\r
                }\r
                                titleLabel.blockSignals(false);\r
                        }\r
                }\r
-               if (currentNote != null && titleLabel != null)\r
+               if (currentNote != null && titleLabel != null && !currentNote.getTitle().equals(text))\r
                        noteSignal.titleChanged.emit(currentNote.getGuid(), text);\r
        }\r
 \r
                        noteSignal.titleChanged.emit(currentNote.getGuid(), text);\r
        }\r
 \r