Summary: | Focus the field for global status message when opening it | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | Philipp W <bugzilla> |
Component: | Main Application | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | 0.12.3 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
gives focus to the lineedit when the menu is created
gives focus to the lineedit when the menu is created |
Description
Philipp W
2006-11-22 22:24:50 UTC
Created attachment 20682 [details]
gives focus to the lineedit when the menu is created
This patch aplies to Kopete from trunk.
It gives keyboard focus to the qlineedit in the global status message menu.
Created attachment 20683 [details]
gives focus to the lineedit when the menu is created
This corrects a disfuncionality introduced that keystrokes to reach other
menuitems behaved weird(excuse bad explanation).
SVN commit 673113 by mattr: Apply patch from bug 137742 to fix bug of the same number. Focus the global status message when editing status messages FEATURE: 137742 M +2 -2 kopetewindow.cpp --- branches/work/kopete/break-the-contactlist/kopete/kopetewindow.cpp #673112:673113 @@ -1040,8 +1040,8 @@ } //connect( m_globalStatusMessageMenu, SIGNAL( aboutToHide() ), m_globalStatusMessageMenu, SLOT( deleteLater() ) ); - //m_newMessageEdit->setFocus(); - + d->newMessageEdit->setFocus(Qt::OtherFocusReason); + d->globalStatusMessageMenu->setActiveAction(newMessageAction); //messageMenu->popup( e->globalPos(), 1 ); } |