r17566 by craig - Allow preferences reset from the defaults button

scribus-commit scribus-commit at lists.scribus.net
Sat Jun 16 10:01:51 UTC 2012


Author: craig
Date: Sat Jun 16 10:01:50 2012
New Revision: 17566

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17566
Log:
Allow preferences reset from the defaults button

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

Modified: trunk/Scribus/scribus/ui/preferencesdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17566&path=/trunk/Scribus/scribus/ui/preferencesdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/preferencesdialog.cpp (original)
+++ trunk/Scribus/scribus/ui/preferencesdialog.cpp Sat Jun 16 10:01:50 2012
@@ -64,6 +64,8 @@
 		exportButton->hide();
 		defaultsButton->hide();
 	}
+	else
+		connect(defaultsButton, SIGNAL(clicked()), SLOT(restoreDefaults()));
 	// Create Stack Widgets if required
 	prefs_ColorManagement = new Prefs_ColorManagement(prefsStackWidget, m_Doc);
 	prefs_Display = new Prefs_Display(prefsStackWidget, m_Doc);




More information about the scribus-commit mailing list