Commit 4c8e680e authored by Johannes Zellner's avatar Johannes Zellner
Browse files

Remove BackButton in first BaseFileWizard page.

After selecting a template in the NewFileDialog (Strg+N), a BaseFileWizard is started with an unusable BackButton.
This change removes the Button on first wizardpage.
parent d6b13dab
...@@ -500,6 +500,7 @@ void BaseFileWizard::setupWizard(QWizard *w) ...@@ -500,6 +500,7 @@ void BaseFileWizard::setupWizard(QWizard *w)
w->setPixmap(QWizard::WatermarkPixmap, watermark()); w->setPixmap(QWizard::WatermarkPixmap, watermark());
w->setOption(QWizard::NoCancelButton, false); w->setOption(QWizard::NoCancelButton, false);
w->setOption(QWizard::NoDefaultButton, false); w->setOption(QWizard::NoDefaultButton, false);
w->setOption(QWizard::NoBackButtonOnStartPage, true);
} }
bool BaseFileWizard::postGenerateFiles(const GeneratedFiles &l, QString *errorMessage) bool BaseFileWizard::postGenerateFiles(const GeneratedFiles &l, QString *errorMessage)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment