Commit 3c4890a4 authored by Andreas Pakulat's avatar Andreas Pakulat

A basic version of GotoFirst/LastWindow, it doesn't work with dockwindows as...

A basic version of GotoFirst/LastWindow, it doesn't work with dockwindows as those don't provide a "first" or "last" tab information.
BUG:147134
parent a78a0ae3
......@@ -507,12 +507,12 @@ void SimpleMainWindow::gotoPreviousWindow()
void SimpleMainWindow::gotoFirstWindow()
{
//@todo implement
m_activeTabWidget->setCurrentPage(0);
}
void SimpleMainWindow::gotoLastWindow()
{
//@todo implement
m_activeTabWidget->setCurrentPage(m_activeTabWidget->count() - 1);
}
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