PDA

View Full Version : Action shortcut



^NyAw^
16th June 2008, 13:34
Hi,

I have created an action that have "Ctrl+M" as shortcut.
The action is never called if don't add it to a menu or toolbar.
Anyone knows how to solve this?

Thanks,

jpn
16th June 2008, 14:28
Add the action to a visible widget with QWidget::addAction() or use QShortcut instead.

^NyAw^
16th June 2008, 16:02
Hi,

AddAction is perfect.

Thanks,