diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tabbar.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp index b92c938a..7e83f69d 100644 --- a/src/tabbar.cpp +++ b/src/tabbar.cpp @@ -144,6 +144,10 @@ void TabBar::showTabPreview(int tab) WebView *view = m_parent->webView(tab); WebView *currentView = m_parent->webView(currentIndex()); + // should fix bug #212219 + if(!currentView) + return; + int w = tabSizeHint(tab).width(); int h = w*((0.0 + currentView->height())/currentView->width()); |