Mercurial > octave
changeset 20671:d29614aed16f stable
Force left-to-right alignment for the whole GUI (bug #46204)
* octave-gui (octave_start_gui): force default left-to-right alignment.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Fri, 30 Oct 2015 22:47:44 +0100 |
parents | b04d2e03fe94 |
children | 77b104cad58e |
files | libgui/src/octave-gui.cc |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/octave-gui.cc Fri Oct 30 12:00:25 2015 +0000 +++ b/libgui/src/octave-gui.cc Fri Oct 30 22:47:44 2015 +0100 @@ -175,6 +175,9 @@ shortcut_manager::init_data (); } + // Force left-to-right alignment (see bug #46204) + application.setLayoutDirection (Qt::LeftToRight); + // Create and show main window. main_window w (0, start_gui);