diff options
Diffstat (limited to 'src/plugins/qmldesigner/components/timelineeditor/timelinetoolbutton.cpp')
-rw-r--r-- | src/plugins/qmldesigner/components/timelineeditor/timelinetoolbutton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/timelineeditor/timelinetoolbutton.cpp b/src/plugins/qmldesigner/components/timelineeditor/timelinetoolbutton.cpp index 8ebeae675f..6b21ee6822 100644 --- a/src/plugins/qmldesigner/components/timelineeditor/timelinetoolbutton.cpp +++ b/src/plugins/qmldesigner/components/timelineeditor/timelinetoolbutton.cpp @@ -24,7 +24,7 @@ TimelineToolButton::TimelineToolButton(QAction *action, QGraphicsItem *parent) resize(TimelineConstants::toolButtonSize, TimelineConstants::toolButtonSize); setPreferredSize(size()); setAcceptHoverEvents(true); - connect(action, &QAction::changed, this, [this]() { + connect(action, &QAction::changed, this, [this] { setVisible(m_action->isVisible()); update(); }); |