--- a/src/Tools/jEdit/src/pretty_tooltip.scala Thu Nov 07 19:35:57 2013 +0100
+++ b/src/Tools/jEdit/src/pretty_tooltip.scala Fri Nov 08 15:10:16 2013 +0100
@@ -115,13 +115,13 @@
deactivate()
hierarchy(tip) match {
case Some((old, _ :: rest)) =>
- old.foreach(_.hide_popup)
- tip.hide_popup
- stack = rest
rest match {
case top :: _ => top.request_focus
case Nil => JEdit_Lib.request_focus_view
}
+ old.foreach(_.hide_popup)
+ tip.hide_popup
+ stack = rest
case _ =>
}
}
@@ -131,9 +131,9 @@
deactivate()
if (stack.isEmpty) false
else {
+ JEdit_Lib.request_focus_view
stack.foreach(_.hide_popup)
stack = Nil
- JEdit_Lib.request_focus_view
true
}
}