Removed delay from toolbar menus.

This commit is contained in:
leo 2014-05-02 22:11:54 +00:00
parent 7b60905dcb
commit ae552cc80c

View file

@ -390,6 +390,9 @@ void lcQMainWindow::createToolBars()
standardToolBar->addAction(actions[LC_EDIT_SNAP_ANGLE]);
standardToolBar->addSeparator();
standardToolBar->addAction(actions[LC_EDIT_TRANSFORM]);
((QToolButton*)standardToolBar->widgetForAction(actions[LC_EDIT_LOCK_TOGGLE]))->setPopupMode(QToolButton::InstantPopup);
((QToolButton*)standardToolBar->widgetForAction(actions[LC_EDIT_SNAP_TOGGLE]))->setPopupMode(QToolButton::InstantPopup);
((QToolButton*)standardToolBar->widgetForAction(actions[LC_EDIT_SNAP_ANGLE]))->setPopupMode(QToolButton::InstantPopup);
QHBoxLayout *transformLayout = new QHBoxLayout;
QWidget *transformWidget = new QWidget();