mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
restore old placement of additionalRestartActions (should be after rerun action)
This commit is contained in:
@@ -698,7 +698,6 @@
|
||||
</group>
|
||||
|
||||
<group id="XDebugger.ToolWindow.LeftToolbar">
|
||||
<reference ref="Rerun"/>
|
||||
<reference ref="Resume"/>
|
||||
<reference ref="Pause"/>
|
||||
<reference ref="Stop"/>
|
||||
|
||||
@@ -227,6 +227,7 @@ public class XDebugSessionTab extends DebuggerSessionTabBase {
|
||||
final Executor debugExecutor = DefaultDebugExecutor.getDebugExecutorInstance();
|
||||
ExecutionEnvironment environment = getEnvironment();
|
||||
if (environment != null) {
|
||||
leftToolbar.add(ActionManager.getInstance().getAction(IdeActions.ACTION_RERUN));
|
||||
List<AnAction> additionalRestartActions = session.getRestartActions();
|
||||
if (!additionalRestartActions.isEmpty()) {
|
||||
leftToolbar.addAll(additionalRestartActions);
|
||||
|
||||
Reference in New Issue
Block a user