Commit 9e079d3a authored by Jens Bache-Wiig's avatar Jens Bache-Wiig
Browse files

Dont draw tab with no index

parent 61ccb1a5
......@@ -96,7 +96,8 @@ void FancyTabBar::paintEvent(QPaintEvent *event)
paintTab(&p, i);
// paint active tab last, since it overlaps the neighbors
paintTab(&p, currentIndex());
if (currentIndex() != -1)
paintTab(&p, currentIndex());
// Handle hover events for mouse fade ins
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