0001-Use-correct-Window-Page-titles-for-categories.patch
src/qtui/settingsdlg.cpp | ||
---|---|---|
95 | 95 |
} |
96 | 96 | |
97 | 97 |
if(sp != currentPage()) { |
98 |
ui.pageTitle->setText(sp->title()); |
|
99 |
setWindowTitle(tr("Configure %1").arg(sp->title())); |
|
98 |
if(sp->title().isEmpty()) { |
|
99 |
ui.pageTitle->setText(sp->category()); |
|
100 |
setWindowTitle(tr("Configure %1").arg(sp->category())); |
|
101 |
} |
|
102 |
else { |
|
103 |
ui.pageTitle->setText(sp->title()); |
|
104 |
setWindowTitle(tr("Configure %1").arg(sp->title())); |
|
105 |
} |
|
106 | ||
100 | 107 |
ui.settingsStack->setCurrentWidget(sp); |
101 | 108 |
_currentPage = sp; |
102 | 109 |
} |
103 |
- |