Commit 8be49ba2 authored by Eike Ziller's avatar Eike Ziller
Browse files

Options: Fix restoring last page for "delayed" created categories

E.g. when opening Designer > Forms, restarting Qt Creator and opening
options dialog again.

Change-Id: I0cfabed8c9e7ef8c98abab5490181223558e21a2
Reviewed-by: default avatarChristian Stenger <>
parent cf66d546
......@@ -365,6 +365,7 @@ void SettingsDialog::showPage(Id categoryId, Id pageId)
if (category->id == initialCategory) {
initialCategoryIndex = i;
if (initialPage.isValid()) {
for (int j = 0; j < category->pages.size(); ++j) {
IOptionsPage *page = category->;
if (page->id() == initialPage)
Supports Markdown
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