# HG changeset patch # User Torsten # Date 1392570403 -3600 # Node ID 83cc56cc7cb7172e6dd94b8ed8fa3f08e9d637bb # Parent 343718b2eee4fd99cf97dd07be761fd8bbdfeeb0 fix restoring non-existing file from previous session (bug #41280) * file-editor.cc (request_open_file): dialog asking whether to create non-existing file has no parent for correct handling at startup diff -r 343718b2eee4 -r 83cc56cc7cb7 libgui/src/m-editor/file-editor.cc --- a/libgui/src/m-editor/file-editor.cc Sat Feb 15 20:16:27 2014 -0800 +++ b/libgui/src/m-editor/file-editor.cc Sun Feb 16 18:06:43 2014 +0100 @@ -369,7 +369,7 @@ tr ("File\n%1\ndoes not exist. " "Do you want to create it?").arg (openFileName), QMessageBox::Yes - | QMessageBox::No, this); + | QMessageBox::No, 0); msgBox->setAttribute (Qt::WA_DeleteOnClose); answer = msgBox->exec ();