fixed:window size change to set dock height

调整任务栏高度后会遮挡桌面图标
This commit is contained in:
shaojun 2019-12-02 10:17:21 +08:00
parent 022cf7e8fe
commit b3114922bb

View File

@ -806,10 +806,10 @@ void MainWindow::resetPanelEnvironment(const bool visible, const bool resetPosit
return;
resizeMainPanelWindow();
m_size = m_settings->m_mainWindowSize;
if (!resetPosition)
return;
if (m_size != m_settings->m_mainWindowSize) {
m_size = m_settings->m_mainWindowSize;
setStrutPartial();
}
}
void MainWindow::updatePanelVisible()