Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
TTool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
42
Issues
42
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
mbe-tools
TTool
Commits
faac414e
Commit
faac414e
authored
Jun 05, 2019
by
apvrille
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolving ticket 202 on exception at startup
parent
8792d095
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
src/main/java/ui/TURTLEPanel.java
src/main/java/ui/TURTLEPanel.java
+5
-6
No files found.
src/main/java/ui/TURTLEPanel.java
View file @
faac414e
...
...
@@ -251,7 +251,6 @@ public abstract class TURTLEPanel implements GenericTree, DraggableTabbedPaneCal
}
public
void
reorderTabs
(
String
tabs
,
int
startIndex
)
{
TraceManager
.
addDev
(
"tabs="
+
tabs
);
if
(
tabs
!=
null
)
{
String
[]
splitTabs
=
tabs
.
split
(
"\\$"
);
...
...
@@ -291,6 +290,10 @@ public abstract class TURTLEPanel implements GenericTree, DraggableTabbedPaneCal
Color
fg
=
tabbedPane
.
getForegroundAt
(
src
);
Color
bg
=
tabbedPane
.
getBackgroundAt
(
src
);
Object
o
=
panels
.
elementAt
(
src
);
panels
.
removeElementAt
(
src
);
panels
.
insertElementAt
((
TDiagramPanel
)
o
,
dst
);
// Remove the tab
tabbedPane
.
remove
(
src
);
...
...
@@ -304,11 +307,7 @@ public abstract class TURTLEPanel implements GenericTree, DraggableTabbedPaneCal
tabbedPane
.
setDisplayedMnemonicIndexAt
(
dst
,
mnemonicLoc
);
tabbedPane
.
setForegroundAt
(
dst
,
fg
);
tabbedPane
.
setBackgroundAt
(
dst
,
bg
);
Object
o
=
panels
.
elementAt
(
src
);
panels
.
removeElementAt
(
src
);
panels
.
insertElementAt
((
TDiagramPanel
)
o
,
dst
);
tabbedPane
.
setSelectedIndex
(
dst
);
}
...
...
Ludovic Apvrille
@ludovic.apvrille
mentioned in issue
#202 (closed)
·
Jun 05, 2019
mentioned in issue
#202 (closed)
mentioned in issue #202
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment