Skip to content

Commit

Permalink
fix: 修复页面中“更多”按钮后没有更多
Browse files Browse the repository at this point in the history
 修复页面中“更多”按钮后没有更多

Log:  修复页面中“更多”按钮后没有更多

Bug: https://pms.uniontech.com/bug-view-218277.html
  • Loading branch information
shuaijie committed Jan 3, 2024
1 parent 5d4996c commit 972cb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepin-devicemanager/src/Page/PageDetail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void PageDetail::showDeviceInfo(const QList<DeviceBaseInfo *> &lstInfo)
connect(txtBrowser, &TextBrowser::refreshInfo, this, &PageDetail::refreshInfo);
connect(txtBrowser, &TextBrowser::exportInfo, this, &PageDetail::exportInfo);
connect(txtBrowser, &TextBrowser::copyAllInfo, this, &PageDetail::slotCopyAllInfo);
addWidgets(txtBrowser, device->enable() && device->available());
addWidgets(txtBrowser, device->enable() && device->available() && !device->getOtherAttribs().isEmpty());
// 当添加到最后一个设备详细信息时,隐藏分隔符
if (device == lstInfo.last())
m_ListDetailSeperator[lstInfo.size() - 1]->setVisible(false);
Expand Down

0 comments on commit 972cb38

Please sign in to comment.