Author: sdzmitrovich
Date: 2009-06-07 09:56:54 -0400 (Sun, 07 Jun 2009)
New Revision: 15761
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/AbstractCSSDialog.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4394
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/AbstractCSSDialog.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/AbstractCSSDialog.java 2009-06-07
12:54:48 UTC (rev 15760)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/AbstractCSSDialog.java 2009-06-07
13:56:54 UTC (rev 15761)
@@ -164,7 +164,9 @@
browser.addMouseListener(new MouseAdapter() {
public void mouseDoubleClick(MouseEvent e) {
if (e.widget == browser) {
+ browser.setEnabled(false);
previewComposite.setMaximizedControl(previewText);
+ previewText.setFocus();
}
}
});
@@ -182,6 +184,7 @@
setPreviewContent(text);
}
+ browser.setEnabled(true);
browser.setText(generateBrowserPage());
previewComposite.setMaximizedControl(browser);
}