Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
0a5ba9ca
Commit
0a5ba9ca
authored
Aug 21, 2022
by
Christoph Cullmann
🍨
Browse files
always follow the user setting for eliding tabs
BUG: 458136
parent
5ec55602
Pipeline
#220979
passed with stage
in 5 minutes and 24 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
apps/lib/katetabbar.cpp
View file @
0a5ba9ca
...
...
@@ -73,8 +73,8 @@ void KateTabBar::readConfig()
// use scroll buttons if we have no limit
setUsesScrollButtons
(
m_tabCountLimit
==
0
||
cgGeneral
.
readEntry
(
"Allow Tab Scrolling"
,
true
));
// elide if
we have some limit
setElideMode
(
(
m_tabCountLimit
==
0
||
!
cgGeneral
.
readEntry
(
"Elide Tab Text"
,
false
)
)
?
Qt
::
Elide
Non
e
:
Qt
::
Elide
Middl
e
);
// elide if
requested, this is independent of the limit, just honor the users wish
setElideMode
(
cgGeneral
.
readEntry
(
"Elide Tab Text"
,
false
)
?
Qt
::
Elide
Middl
e
:
Qt
::
Elide
Non
e
);
const
std
::
vector
<
int
>
documentTabIndexes
=
this
->
documentTabIndexes
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment