Skip to content
Commit 0c375633 authored by Matej Starc's avatar Matej Starc
Browse files

better bool conditions when poping pages by index and always pop by index



Signed-off-by: Matej Starc's avatarMatej Starc <matej.starc@protonmail.com>

- do not pop pages if provided index is not at least by 2 smaller than the item count because it won't remove any pages unless it is.
- always pop pages by index. This makes it less error-prone because of the checks the columnview::pop(int) has.
parent b6bd189d
Pipeline #513120 passed with stage
in 6 minutes and 15 seconds
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