forked from qt-creator/qt-creator
In the FancyActionBar, trigger a button's default action
also when a context menu action is selected. This allows the user e.g. to select and run a specific run configuration with one click.
This commit is contained in:
@@ -64,6 +64,8 @@ public:
|
||||
void paintEvent(QPaintEvent *event);
|
||||
void insertAction(int index, QAction *action, QMenu *menu = 0);
|
||||
|
||||
private slots:
|
||||
void toolButtonContextMenuActionTriggered(QAction*);
|
||||
private:
|
||||
QVBoxLayout *m_actionsLayout;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user