mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 04:20:38 +00:00
Call setClientView: before calling setMarkers: to fix a problem when a textView's text is set or changed when the textView is not the first responder, such as at windowControllerDidLoadNib: time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34633 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cbf7bc52a9
commit
3e7c9bceef
2 changed files with 8 additions and 0 deletions
|
@ -4597,6 +4597,7 @@ shouldRemoveMarker: (NSRulerMarker *)marker
|
|||
makers = [_layoutManager rulerMarkersForTextView: self
|
||||
paragraphStyle: paraStyle
|
||||
ruler: rv];
|
||||
[rv setClientView:self];
|
||||
[rv setMarkers: makers];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue