mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-19 19:20:38 +00:00
remove extra constructions
This commit is contained in:
parent
3b1d918921
commit
9cb2c3fd98
@ -73,14 +73,6 @@ void Tab::append(
|
|||||||
void Tab::close(
|
void Tab::close(
|
||||||
int page_number
|
int page_number
|
||||||
) {
|
) {
|
||||||
auto pageWidget = get_nth_page(
|
|
||||||
page_number
|
|
||||||
);
|
|
||||||
|
|
||||||
auto labelWidget = get_tab_label(
|
|
||||||
* pageWidget
|
|
||||||
);
|
|
||||||
|
|
||||||
remove_page(
|
remove_page(
|
||||||
page_number
|
page_number
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user