problem with the new dialog
Closed this issue · 3 comments
aoloe commented
there is a strange crash in the ctl branch when creating a new file.
i was made aware of it by somebody on irc who was trying to compile it / run it.
the problem can be avoided (but not solved) with the following small patch to scribus/ui/newfile.cpp
:
diff --git a/scribus/ui/newfile.cpp b/scribus/ui/newfile.cpp
index f77e805..b09fbcd 100644
--- a/scribus/ui/newfile.cpp
+++ b/scribus/ui/newfile.cpp
@@ -107,7 +107,7 @@ NewDoc::NewDoc( QWidget* parent, const QStringList& recentDocs, bool startUp, QS
if (startUp)
tabWidget = new QTabWidget( this );
createNewDocPage();
- if (startUp)
+ if (false && startUp)
{
tabWidget->addTab(newDocFrame, tr("&New Document"));
createNewFromTempPage();
@@ -174,7 +174,7 @@ NewDoc::NewDoc( QWidget* parent, const QStringList& recentDocs, bool startUp, QS
NewDoc::~NewDoc()
{
- delete fileDialog->iconProvider();
+ // delete fileDialog->iconProvider();
}
void NewDoc::createNewDocPage()
Fahad-Alsaidi commented
This should be fixed now.
aoloe commented
I'll check in a few minutes...
aoloe commented
it's fine now!