Skip to content

Commit bedd250

Browse files
Fixed issue #429 - Raise floating widget on toggleView() request
1 parent 0e566cb commit bedd250

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/DockWidget.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ void CDockWidget::toggleView(bool Open)
555555
{
556556
Open = true;
557557
}
558+
558559
// If the dock widget state is different, then we really need to toggle
559560
// the state. If we are in the right state, then we simply make this
560561
// dock widget the current dock widget
@@ -564,7 +565,7 @@ void CDockWidget::toggleView(bool Open)
564565
}
565566
else if (Open && d->DockArea)
566567
{
567-
d->DockArea->setCurrentDockWidget(this);
568+
raise();
568569
}
569570
}
570571

0 commit comments

Comments
 (0)