Commit a72b1177 authored by Cyril Deguet's avatar Cyril Deguet
Browse files

* top_window.cpp: stupid bug...

parent 31f3794d
......@@ -349,7 +349,6 @@ const GenericLayout& TopWindow::getActiveLayout() const
void TopWindow::innerShow()
{
printf("show %x\n", m_pActiveLayout);
// First, refresh the layout and update the shape of the window
if( m_pActiveLayout )
{
......@@ -369,7 +368,7 @@ void TopWindow::innerHide()
m_pActiveLayout->onHide();
}
// Hide the window
GenericWindow::innerShow();
GenericWindow::innerHide();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment