insert book_title_button only in vocab_builder widget

This commit is contained in:
Commodore64user authored and David committed 2026-06-22 23:00:59 +01:00
1 parent 40f34e1d09
commit c03625c5d5
1 file changed
+3 -1
+3 -1
View File
@@ -621,7 +621,9 @@ function WordInfoDialog:init()
}
table.insert(self.layout, {copy_button})
table.insert(self.layout, {self.book_title_button})
if self.vocabbuilder then
table.insert(self.layout, {self.book_title_button})
end
self:mergeLayoutInVertical(focus_button)
local has_context = self.prev_context or self.next_context