Commit 065a5de4 authored by Andreas Pakulat's avatar Andreas Pakulat

Seems I misunderstood the purpose of GotoFirst/GotoLast, this needs a navigation history hook.

CCBUG:147134
parent 32574c37
......@@ -507,12 +507,13 @@ void SimpleMainWindow::gotoPreviousWindow()
void SimpleMainWindow::gotoFirstWindow()
{
m_activeTabWidget->setCurrentPage(0);
//@TODO: implement me
}
void SimpleMainWindow::gotoLastWindow()
{
m_activeTabWidget->setCurrentPage(m_activeTabWidget->count() - 1);
//@TODO: implement me
}
void SimpleMainWindow::slotCoreInitialized()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment