r18933 by jghali - #12132: Escape key in "open file" tab breaks splash dialog

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 23 00:00:29 UTC 2014


Author: jghali
Date: Sun Mar 23 00:00:28 2014
New Revision: 18933

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18933
Log:
#12132: Escape key in "open file" tab breaks splash dialog

Modified:
    trunk/Scribus/scribus/ui/newfile.cpp

Modified: trunk/Scribus/scribus/ui/newfile.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18933&path=/trunk/Scribus/scribus/ui/newfile.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/newfile.cpp (original)
+++ trunk/Scribus/scribus/ui/newfile.cpp Sun Mar 23 00:00:28 2014
@@ -387,6 +387,7 @@
 	connect(keyCatcher, SIGNAL(escapePressed()), this, SLOT(reject()));
 
 	connect(fileDialog, SIGNAL(filesSelected(const QStringList &)), this, SLOT(openFile()));
+	connect(fileDialog, SIGNAL(rejected()), this, SLOT(reject()));
 }
 
 void NewDoc::openFile()




More information about the scribus-commit mailing list