update CustomIndicator button onParentView change

pull/19/head
Michail Vourlakos 5 years ago
parent 45d09b2cd4
commit c64354c048

@ -51,6 +51,7 @@ IndicatorUiManager::IndicatorUiManager(ViewPart::PrimaryConfigView *parent)
IndicatorUiManager::~IndicatorUiManager()
{
m_uidata.clear();
}
bool IndicatorUiManager::contains(const QString &type)

@ -55,7 +55,16 @@ LatteComponents.ComboBoxButton{
target: latteView.indicator
onCustomPluginsCountChanged: {
custom.reloadModel();
custom.updateButtonInformation()
custom.updateButtonInformation();
}
}
Connections {
target: viewConfig
onIsReadyChanged: {
if (viewConfig.isReady) {
custom.updateButtonInformation();
}
}
}

Loading…
Cancel
Save