summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/window.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index fd96248026f1..bf7da997cf5a 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -778,7 +778,7 @@ void Window::ImplInit( Window* pParent, WinBits nStyle, SystemParentData* pSyste
}
if( pParent && ! mpWindowImpl->mbFrame )
- mbEnableRTL = pParent->mbEnableRTL;
+ mbEnableRTL = Application::GetSettings().GetLayoutRTL();
// test for frame creation
if ( mpWindowImpl->mbFrame )