Commit 0a5ba9ca authored by Christoph Cullmann's avatar 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
......@@ -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::ElideNone : Qt::ElideMiddle);
// elide if requested, this is independent of the limit, just honor the users wish
setElideMode(cgGeneral.readEntry("Elide Tab Text", false) ? Qt::ElideMiddle : Qt::ElideNone);
const std::vector<int> documentTabIndexes = this->documentTabIndexes();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment