mirror of
https://github.com/YACReader/yacreader
synced 2025-08-31 02:24:20 -04:00
Make underlying NSTextField the first responder on setFocus
This commit is contained in:
@ -319,7 +319,8 @@ YACReaderMacOSXSearchLineEdit::YACReaderMacOSXSearchLineEdit()
|
|||||||
void YACReaderMacOSXSearchLineEdit::setFocus(Qt::FocusReason reason)
|
void YACReaderMacOSXSearchLineEdit::setFocus(Qt::FocusReason reason)
|
||||||
{
|
{
|
||||||
Q_UNUSED(reason)
|
Q_UNUSED(reason)
|
||||||
// TODO: implement
|
|
||||||
|
[((NSTextField *)nstextfield) becomeFirstResponder];
|
||||||
}
|
}
|
||||||
|
|
||||||
void *YACReaderMacOSXSearchLineEdit::getNSTextField()
|
void *YACReaderMacOSXSearchLineEdit::getNSTextField()
|
||||||
|
Reference in New Issue
Block a user