mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-11 13:18:13 +03:00
update CustomIndicator button onParentView change
This commit is contained in:
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…
Reference in New Issue
Block a user