GUI: Code cleanup and small issue fixes
This commit is contained in:
parent
c7469a1145
commit
d968665110
4 changed files with 11 additions and 20 deletions
|
@ -1827,13 +1827,8 @@ void GlobalOptionsDialog::build() {
|
|||
addAccessibilityControls(tab, "GlobalOptions_Accessibility.");
|
||||
#endif // USE_TTS
|
||||
|
||||
// GUI TODO: Incomplete implementation, currently just switches to last tab.
|
||||
if (g_gui.useRTL()) {
|
||||
tab->setActiveTab(tab->getTabsSize() - 1);
|
||||
} else {
|
||||
// Activate the first tab
|
||||
tab->setActiveTab(0);
|
||||
}
|
||||
// Activate the first tab
|
||||
tab->setActiveTab(0);
|
||||
_tabWidget = tab;
|
||||
|
||||
// Add OK & Cancel buttons
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue