Commit 7e99f5cf authored by Carlos Alves's avatar Carlos Alves

Fix Maximize/Restore split terminal tool tip

BUG: 409825
FIXED-IN: 20.12
parent e10f07a8
......@@ -190,6 +190,11 @@ void TerminalHeaderBar::setExpandedMode(bool expand)
if (m_toggleExpandedMode->isChecked() != expand) {
m_toggleExpandedMode->setChecked(expand);
}
if (expand) {
m_toggleExpandedMode->setToolTip(i18nc("@info:tooltip", "Restore terminal"));
} else {
m_toggleExpandedMode->setToolTip(i18nc("@info:tooltip", "Maximize terminal"));
}
}
void TerminalHeaderBar::paintEvent(QPaintEvent *paintEvent)
......
Markdown is supported
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