Commit 3ee2a4c2 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Restore the first slider

Resolves T1300
parent 91000f14
...@@ -271,6 +271,7 @@ KisPaintopBox::KisPaintopBox(KisViewManager *view, QWidget *parent, const char * ...@@ -271,6 +271,7 @@ KisPaintopBox::KisPaintopBox(KisViewManager *view, QWidget *parent, const char *
action = new QWidgetAction(this); action = new QWidgetAction(this);
KisActionRegistry::instance()->propertizeAction("brushslider1", action); KisActionRegistry::instance()->propertizeAction("brushslider1", action);
view->actionCollection()->addAction("brushslider1", action);
action->setDefaultWidget(m_sliderChooser[0]); action->setDefaultWidget(m_sliderChooser[0]);
connect(action, SIGNAL(triggered()), m_sliderChooser[0], SLOT(showPopupWidget())); connect(action, SIGNAL(triggered()), m_sliderChooser[0], SLOT(showPopupWidget()));
connect(m_viewManager->mainWindow(), SIGNAL(themeChanged()), m_sliderChooser[0], SLOT(updateThemedIcons())); connect(m_viewManager->mainWindow(), SIGNAL(themeChanged()), m_sliderChooser[0], SLOT(updateThemedIcons()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment