fix strut set error

Change-Id: If48ba085325c23e1ef7dd49bd686cb568ddd87db
This commit is contained in:
石博文 2016-07-12 11:10:22 +08:00 committed by Hualet Wang
parent 319099dec5
commit 09bc85fa99

View File

@ -338,7 +338,7 @@ void MainWindow::resetPanelEnvironment()
void MainWindow::updatePanelVisible()
{
if (m_settings->hideMode() == KeepShowing)
return expand();
return;
const Dock::HideState state = m_settings->hideState();