File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1061,8 +1061,8 @@ def resizeEvent(self, theEvent):
10611061 """If the text editor is resized, we must make sure the document
10621062 has its margins adjusted according to user preferences.
10631063 """
1064- QTextEdit .resizeEvent (self , theEvent )
10651064 self .updateDocMargins ()
1065+ QTextEdit .resizeEvent (self , theEvent )
10661066 return
10671067
10681068 ##
Original file line number Diff line number Diff line change @@ -471,10 +471,11 @@ def _openContextMenu(self, thePos):
471471 ##
472472
473473 def resizeEvent (self , theEvent ):
474- """Make sure the document title is the same width as the window.
474+ """If the text editor is resized, we must make sure the document
475+ has its margins adjusted according to user preferences.
475476 """
476- QTextBrowser .resizeEvent (self , theEvent )
477477 self .updateDocMargins ()
478+ QTextBrowser .resizeEvent (self , theEvent )
478479 return
479480
480481 def mouseReleaseEvent (self , theEvent ):
Original file line number Diff line number Diff line change @@ -51,6 +51,6 @@ Filename: "{app}\pythonw.exe"; Parameters: "{#nwAppExeName}"; Description: "{cm
5151[Registry]
5252Root : HKA; Subkey : " Software\Classes\.nwx\OpenWithProgids" ; ValueType : string ; ValueName : " novelWriterProject.nwx" ; ValueData : " " ; Flags : uninsdeletevalue
5353Root : HKA; Subkey : " Software\Classes\novelWriterProject.nwx" ; ValueType : string ; ValueName : " " ; ValueData : " novelWriter Project File" ; Flags : uninsdeletekey
54- Root : HKA; Subkey : " Software\Classes\novelWriterProject.nwx\DefaultIcon" ; ValueType : string ; ValueName : " " ; ValueData : " {app} \assets\icons\x-novelwriter-project.ico"
54+ Root : HKA; Subkey : " Software\Classes\novelWriterProject.nwx\DefaultIcon" ; ValueType : string ; ValueName : " " ; ValueData : " {app} \novelwriter\ assets\icons\x-novelwriter-project.ico"
5555Root : HKA; Subkey : " Software\Classes\novelWriterProject.nwx\shell\open\command" ; ValueType : string ; ValueName : " " ; ValueData : " " " {app} \pythonw.exe" " " " {app} \{#nwAppExeName}" " " " %1 " " "
5656Root : HKA; Subkey : " Software\Classes\Applications\{#nwAppExeName}\SupportedTypes" ; ValueType : string ; ValueName : " .nwx" ; ValueData : " " ; Flags : uninsdeletekey
You can’t perform that action at this time.
0 commit comments