Skip to content

Commit

Permalink
fix: 修复wps定制回合时,设置中‘解压后删除压缩文件’下拉选择框未置灰
Browse files Browse the repository at this point in the history
修复wps定制回合时,设置中‘解压后删除压缩文件’下拉选择框未置灰

Bug: https://pms.uniontech.com/bug-view-243643.html
Log: 修复wps定制回合时,设置中‘解压后删除压缩文件’下拉选择框未置灰
  • Loading branch information
myk1343 committed Feb 21, 2024
1 parent df197d3 commit 1cde08d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/source/dialog/settingdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,10 @@ void SettingDialog::createDeleteBox()

m_deleteArchiveOption->setValue(m_autoDeleteArchive);
});

if(parent()&&parent()->property(ORDER_JSON).isValid()) {
combobox->setCurrentIndex(0);
combobox->setEnabled(false);
}
return widget;
}

Expand Down

0 comments on commit 1cde08d

Please sign in to comment.