mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Make underlying NSTextField the first responder on setFocus
This commit is contained in:
parent
288b9cbec6
commit
efd9f478ca
@ -319,7 +319,8 @@ YACReaderMacOSXSearchLineEdit::YACReaderMacOSXSearchLineEdit()
|
||||
void YACReaderMacOSXSearchLineEdit::setFocus(Qt::FocusReason reason)
|
||||
{
|
||||
Q_UNUSED(reason)
|
||||
// TODO: implement
|
||||
|
||||
[((NSTextField *)nstextfield) becomeFirstResponder];
|
||||
}
|
||||
|
||||
void *YACReaderMacOSXSearchLineEdit::getNSTextField()
|
||||
|
Loading…
Reference in New Issue
Block a user