Commit 9272a98e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Fix some sizing in open dialog.

parent 2a4b54dd
...@@ -225,7 +225,8 @@ void OpenDialog::toggleAdvancedPanel() ...@@ -225,7 +225,8 @@ void OpenDialog::toggleAdvancedPanel()
{ {
ui.advancedFrame->hide(); ui.advancedFrame->hide();
//FIXME: Clear Bug here. Qt ? //FIXME: Clear Bug here. Qt ?
resize( size().width(), size().height() - ui.advancedFrame->height() ); if( size().isValid() )
resize( size().width(), size().height() - ui.advancedFrame->height() );
} }
else else
{ {
......
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