Diffusion Kate 23ac7ed7ea6f

[tabswitcher] Fix beginRemoveRows call

Authored by davidedmundson on Oct 23 2018, 11:23 AM.

Description

[tabswitcher] Fix beginRemoveRows call

Summary:
To remove one row first and last should be the same index.

This hit an assert on newer Qt.

Test Plan:
I hit this booting up with no args with kate
restoring to split views each with one document.

From the calling code it seems to be trying to just remove one row.

It now starts. Hitting control+n, control_w does add/remove tabs respectively

Reviewers: Kate, dhaumann

Reviewed By: Kate, dhaumann

Subscribers: dhaumann, kwrite-devel

Tags: Kate

Differential Revision: https://phabricator.kde.org/D16376

Details

Committed
davidedmundsonOct 23 2018, 11:23 AM
Reviewer
Kate
Differential Revision
D16376: [tabswitcher] Fix beginRemoveRows call
Parents
R40:8dbcfc6c3133: Minor cleanups of TabSwitcher plugin
Branches
Unknown
Tags
Unknown