changeset 27054:1e70f1fe7c0e

always use scroll buttons in case of too many tabs (bug #56158) * file-editor.cc (file_editor_tab_widget::file_editor_tab_widget): explicitely set usesScrollButtons to true
author Torsten Lilge <ttl-octave@mailbox.org>
date Thu, 18 Apr 2019 21:24:16 +0200
parents 1bdfd2b523c9
children b38807a23fd2
files libgui/src/m-editor/file-editor.cc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.cc	Thu Apr 18 21:14:39 2019 +0200
+++ b/libgui/src/m-editor/file-editor.cc	Thu Apr 18 21:24:16 2019 +0200
@@ -66,6 +66,7 @@
     this->setTabBar (bar);
 
     setTabsClosable (true);
+    setUsesScrollButtons (true);
 #if defined (HAVE_QTABWIDGET_SETMOVABLE)
     setMovable (true);
 #endif