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:
parent
23013c436d
commit
14a9f65de9
3 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -121,6 +121,8 @@ public class OpenProjectGroup extends CViewActionGroup {
|
|||
if (refreshAction.isEnabled()) {
|
||||
refreshAction.refreshAll();
|
||||
}
|
||||
// Swallow the event
|
||||
event.doit = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue