diff options
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r-- | src/gui/widgets/tabbedarea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp index 818dd85df..dbfc068e6 100644 --- a/src/gui/widgets/tabbedarea.cpp +++ b/src/gui/widgets/tabbedarea.cpp @@ -396,7 +396,7 @@ void TabbedArea::setSelectedTab(Tab *const tab) } } - Tab *const newTab = dynamic_cast<Tab *const>(tab); + Tab *const newTab = tab; if (newTab) newTab->setCurrent(); |