insert book_title_button only in vocab_builder widget
This commit is contained in:
1 parent
40f34e1d09
commit
c03625c5d5
1 file changed
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user