No need to test whether it's safe to close all when creating a new part anymore, since it no longer closes anything.

Thu, 01 Aug 2013 15:35:11 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Thu, 01 Aug 2013 15:35:11 +0300
changeset 415
6598e3f9c673
parent 414
0f40c56fde23
child 416
be1824f53c48

No need to test whether it's safe to close all when creating a new part anymore, since it no longer closes anything.

src/gui_actions.cpp file | annotate | diff | comparison | revisions
--- a/src/gui_actions.cpp	Thu Aug 01 03:50:13 2013 +0300
+++ b/src/gui_actions.cpp	Thu Aug 01 15:35:11 2013 +0300
@@ -44,9 +44,6 @@
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 // =============================================================================
 DEFINE_ACTION (New, CTRL (N)) {
-	if (safeToCloseAll() == false)
-		return;
-	
 	QDialog* dlg = new QDialog (g_win);
 	Ui::NewPartUI ui;
 	ui.setupUi (dlg);

mercurial