Skip to content

Commit

Permalink
Bugfix: show main window after registering listener
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlmayer committed Dec 12, 2014
1 parent fec35af commit 16187cf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/gui/org/deidentifier/arx/gui/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@ public static void main(final String[] args) {
splash = new MainSplash(display, monitor);
splash.show();

// Main window
// Create main window
main = new MainWindow(display, monitor);
main.show();


// Handler for loading a project
if (args.length > 0 && args[0].endsWith(".deid")) {
main.onShow(new Runnable() {
Expand All @@ -79,6 +78,9 @@ public void run(){
});
}

// Show window
main.show();

// Main event loop
while (!main.isDisposed()) {
try {
Expand Down

0 comments on commit 16187cf

Please sign in to comment.