r18304 by jghali - #11579: "Open Existing Document" greyed out after cancelling it once

scribus-commit scribus-commit at lists.scribus.net
Sun Jun 9 15:34:37 UTC 2013


Author: jghali
Date: Sun Jun  9 15:34:37 2013
New Revision: 18304

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18304
Log:
#11579: "Open Existing Document" greyed out after cancelling it once

Modified:
    branches/Version14x/Scribus/scribus/newfile.cpp

Modified: branches/Version14x/Scribus/scribus/newfile.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18304&path=/branches/Version14x/Scribus/scribus/newfile.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/newfile.cpp (original)
+++ branches/Version14x/Scribus/scribus/newfile.cpp Sun Jun  9 15:34:37 2013
@@ -365,6 +365,7 @@
 	fileDialog = new QFileDialog(openDocFrame, tr("Open"), docDir, formats);
 	fileDialog->setFileMode(QFileDialog::ExistingFile);
 	fileDialog->setAcceptMode(QFileDialog::AcceptOpen);
+	fileDialog->setOption(QFileDialog::DontUseNativeDialog);
 	fileDialog->setReadOnly(true);
 	fileDialog->setSizeGripEnabled(false);
 	fileDialog->setModal(false);




More information about the scribus-commit mailing list