1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

2005-02-25 Alain Magloire

Fix PR 86718: Dialog shows twice
	* src/org/eclipse/cdt/internal/ui/cview/OpenProjectGroup.java
	* src/org/eclipse/cdt/internal/ui/cview/RefactorActionGroup.java
This commit is contained in:
Alain Magloire 2005-02-25 23:02:49 +00:00
parent 23013c436d
commit 14a9f65de9
3 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-02-25 Alain Magloire
Fix PR 86718: Dialog shows twice
* src/org/eclipse/cdt/internal/ui/cview/OpenProjectGroup.java
* src/org/eclipse/cdt/internal/ui/cview/RefactorActionGroup.java
2005-02-25 Alain Magloire
Fix for PR 45666: Adding Block comment mneu in the CEditor "/* */"
* src/org/eclipse/cdt/internal/ui/actions/RemoveBlockCommentAction.java

View file

@ -121,6 +121,8 @@ public class OpenProjectGroup extends CViewActionGroup {
if (refreshAction.isEnabled()) {
refreshAction.refreshAll();
}
// Swallow the event
event.doit = false;
}
}

View file

@ -95,10 +95,14 @@ public class RefactorActionGroup extends CViewActionGroup {
if (deleteAction.isEnabled()) {
deleteAction.run();
}
// Swallow the event.
event.doit = false;
} else if (event.keyCode == SWT.F2 && event.stateMask == 0) {
if (renameAction.isEnabled()) {
renameAction.run();
}
// Swallow the event.
event.doit = false;
}
}