Skip to content

Commit 9dd66b8

Browse files
committed
bug fixes
1 parent f412eff commit 9dd66b8

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@echo off
2-
SET VERSION="0.6.1"
2+
SET VERSION="6.1.0"
33
SET DIR=".\build\dist\\%VERSION%\Emrick Designer"
44
SET NAME="Emrick Designer"
55
call .\gradlew.bat clean

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group 'org.emrick.project'
8-
version '0.6.1'
8+
version '6.1.0'
99
var jarTitle = "Emrick-Designer-$version"
1010

1111
repositories {

src/main/java/org/emrick/project/MediaEditorGUI.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,18 @@ public MediaEditorGUI(String file) {
217217
// Scrub bar cursor starts on first count of drill by default
218218
useStartDelay = true;
219219

220-
createAndShowGUI();
221220
if (!file.equals("")) {
222221
if (file.endsWith(".emrick")) {
222+
createAndShowGUI();
223223
loadProject(new File(file));
224224
} else {
225225
runServer(file);
226+
createAndShowGUI();
226227
}
228+
} else {
229+
createAndShowGUI();
227230
}
231+
228232
}
229233

230234
private void setPlaybackTimerTimeByFps() {
@@ -587,7 +591,6 @@ public void createAndShowGUI() {
587591
stopShowItem.addActionListener(e -> {
588592
footballFieldPanel.setSerialTransmitter(null);
589593
stopShowItem.setEnabled(false);
590-
runMenu.remove(stopShowItem);
591594
runShowItem.setEnabled(true);
592595
flowViewerItem.setEnabled(true);
593596
});

0 commit comments

Comments
 (0)