Skip to content

Commit

Permalink
Omit redundant synchronizeWindowTitleWithDocumentName()
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Jan 16, 2025
1 parent 5fd6f7a commit a2f377d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,6 @@ final class DocumentWindowController: NSWindowController, NSWindowDelegate {
.sink { [weak self] _ in self?.synchronizeWindowTitleWithDocumentName() }
}

self.synchronizeWindowTitleWithDocumentName()

self.syntaxPopUpButton?.isEnabled = (document is Document)

// observe document's syntax change for toolbar
Expand Down

0 comments on commit a2f377d

Please sign in to comment.