From 2a7c6525c2ab62cb6a09f049c8bf53bc7e6e0039 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 3 Jul 2021 19:12:05 +0200 Subject: Fix wraparound embedded text, go to last line in pinned events if another tab is selected --- src/QuickMedia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/QuickMedia.cpp') diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index e21e591..ba97794 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -4776,7 +4776,7 @@ namespace QuickMedia { delete (PinnedEventData*)prev_body_item->userdata; } - if(empty_before) + if(empty_before || ui_tabs.get_selected() != PINNED_TAB_INDEX) tabs[PINNED_TAB_INDEX].body->select_last_item(); else tabs[PINNED_TAB_INDEX].body->set_selected_item(selected_before); -- cgit v1.2.3