ladybird/Userland/Applications/PDFViewer
Rodrigo Tobar c76564b533 PDFViewer: Fix parent_index() implementation in OutlineModel
The previous implementation had some repeated code, and wasn't really
working (because the OutlineItem.parent member was never populated). In
fact, when navigating with the up/down arrows in the associted TreeView
one could experience some funky behavior.

Now that we store OutlineItem's parents, we are fixing the
implementation for parent_index(), which was comparing the parent
siblings against the item's outline item instead of to its parent.
2022-12-17 19:40:52 +01:00
..
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
main.cpp Applications: Use new global variables at /sys/kernel/ directory 2022-10-25 15:33:34 -06:00
NumericInput.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
NumericInput.h PDFViewer: Respect page navigation features in multi-page mode 2022-04-04 14:59:37 +02:00
OutlineModel.cpp PDFViewer: Fix parent_index() implementation in OutlineModel 2022-12-17 19:40:52 +01:00
OutlineModel.h PDFViewer: Propagate errors from OutlineModel construction 2022-12-17 19:40:52 +01:00
PDFViewer.cpp LibPDF: Switch to best-effort PDF rendering 2022-12-16 10:04:23 +01:00
PDFViewer.h LibPDF: Switch to best-effort PDF rendering 2022-12-16 10:04:23 +01:00
PDFViewerWidget.cpp PDFViewer: Propagate errors from OutlineModel construction 2022-12-17 19:40:52 +01:00
PDFViewerWidget.h PDFViewer: Perform standard error handling when opening files 2022-12-17 19:40:52 +01:00
SidebarWidget.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
SidebarWidget.h PDFViewer: Propagate errors from OutlineModel construction 2022-12-17 19:40:52 +01:00