mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix: indicator not display
the current connectting indicator of wireless list not display when login to desktop https://github.com/linuxdeepin/internal-discussion/issues/525 Change-Id: Idc83b3ab765560d3dc999feeac0c083580e8b4b8
This commit is contained in:
parent
4cd74405ce
commit
b1d0fd4ad4
Notes:
gerrit
2019-03-12 17:47:10 +08:00
Verified+1: <jenkins@deepin.com> Verified+1: liuwen123 <liuwen@linuxdeepin.com> Code-Review+2: listenerri <listenerri@gmail.com> Submitted-by: listenerri <listenerri@gmail.com> Submitted-at: Tue, 12 Mar 2019 17:47:09 +0800 Reviewed-on: https://cr.deepin.io/41953 Project: dde/dde-dock Branch: refs/heads/master
@ -281,6 +281,8 @@ void WirelessList::updateAPList()
|
||||
const int contentHeight = avaliableAPCount * ITEM_HEIGHT;
|
||||
m_centralWidget->setFixedHeight(contentHeight);
|
||||
setFixedHeight(std::min(contentHeight, MAX_HEIGHT));
|
||||
|
||||
updateIndicatorPos();
|
||||
}
|
||||
|
||||
void WirelessList::onEnableButtonToggle(const bool enable)
|
||||
|
Loading…
x
Reference in New Issue
Block a user