Fixed initial graying out options in Cube Effect settings
Typically after deselecting "Show caps" option, the associated options "Cap color" and "Display image on caps" are grayed out (triggered by signal). The bug was when Desktop Cube settings were closed and opened again then the options were not grayed out. Succesfully compiled and tested by deselecting "Show caps" option in Desktop Cube settings, closing the settings window and opening it once again. The options "Cap color" and "Display image on caps" were then grayed out. REVIEW: 129194
This commit is contained in:
parent
e019c9f61e
commit
a43049f688
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ CubeEffectConfig::CubeEffectConfig(QWidget* parent, const QVariantList& args) :
|
|||
|
||||
m_ui->editor->addCollection(m_actionCollection);
|
||||
|
||||
capsSelectionChanged();
|
||||
connect(m_ui->kcfg_Caps, SIGNAL(stateChanged(int)), this, SLOT(capsSelectionChanged()));
|
||||
m_ui->kcfg_Wallpaper->setFilter(QStringLiteral("*.png *.jpeg *.jpg "));
|
||||
addConfig(CubeConfig::self(), m_ui);
|
||||
|
|
Loading…
Reference in a new issue