Skip to content

Commit

Permalink
fix: 修复其他日志中,日志区域最小高度过大 (#111)
Browse files Browse the repository at this point in the history
Description: 切换导航栏后,需要重新设置最小高度

Log: 修复其他日志中,日志区域最小高度过大
Bug: https://pms.uniontech.com/bug-view-182953.html
  • Loading branch information
lichunlong111 authored Jan 11, 2023
1 parent 4074c37 commit 7fc7593
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/displaycontent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1489,12 +1489,14 @@ void DisplayContent::slot_logCatelogueClicked(const QModelIndex &index)
m_flag = OtherLog;
m_splitter->handle(3)->setDisabled(false);
m_detailWgt->setFixedHeight(QWIDGETSIZE_MAX);
m_detailWgt->setMinimumHeight(70);
createOOCTableForm();
createOOCTable(LogApplicationHelper::instance()->getOtherLogList());
} else if (itemData.contains(CUSTOM_TREE_DATA, Qt::CaseInsensitive)) {
m_flag = CustomLog;
m_splitter->handle(3)->setDisabled(false);
m_detailWgt->setFixedHeight(QWIDGETSIZE_MAX);
m_detailWgt->setMinimumHeight(70);
createOOCTableForm();
createOOCTable(LogApplicationHelper::instance()->getCustomLogList());
}
Expand Down

0 comments on commit 7fc7593

Please sign in to comment.