diff --git a/src/app/browser/main/tab.cpp b/src/app/browser/main/tab.cpp index 7ecb0973..43bf3f9f 100644 --- a/src/app/browser/main/tab.cpp +++ b/src/app/browser/main/tab.cpp @@ -107,22 +107,6 @@ void Tab::close_all() } } -void Tab::update( - const int & PAGE_NUMBER -) { - auto pageWidget = get_nth_page( - PAGE_NUMBER - ); - - if (pageWidget != nullptr) - { - pageWidget->activate_action( - "page.update" - ); - } - -} // @TODO - void Tab::refresh( const int & PAGE_NUMBER ) { @@ -154,4 +138,20 @@ void Tab::refresh( // Refresh children widgets tabPage->refresh(); -} \ No newline at end of file +} + +void Tab::update( + const int & PAGE_NUMBER +) { + auto pageWidget = get_nth_page( + PAGE_NUMBER + ); + + if (pageWidget != nullptr) + { + pageWidget->activate_action( + "page.update" + ); + } + +} // @TODO \ No newline at end of file