Commit a2ae519c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix dialog saving size regression. Close #1867.

parent 35afdd4a
...@@ -165,10 +165,14 @@ OpenDialog::OpenDialog( QWidget *parent, ...@@ -165,10 +165,14 @@ OpenDialog::OpenDialog( QWidget *parent,
/* Initialize caching */ /* Initialize caching */
storedMethod = ""; storedMethod = "";
newCachingMethod( "file-caching" ); newCachingMethod( "file-caching" );
resize( getSettings()->value( "opendialog-size", QSize( 520, 490 ) ).toSize() );
} }
OpenDialog::~OpenDialog() OpenDialog::~OpenDialog()
{} {
getSettings()->setValue( "opendialog-size", size() );
}
/* Finish the dialog and decide if you open another one after */ /* Finish the dialog and decide if you open another one after */
void OpenDialog::setMenuAction() void OpenDialog::setMenuAction()
......
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