mirror of
				https://github.com/Qortal/altcoinj.git
				synced 2025-11-03 22:17:17 +00:00 
			
		
		
		
	WalletTemplate: expose MainWindow in Main
This commit is contained in:
		@@ -38,6 +38,7 @@ public class Main extends Application {
 | 
			
		||||
    private Pane mainUI;
 | 
			
		||||
    public MainController controller;
 | 
			
		||||
    public NotificationBarPane notificationBar;
 | 
			
		||||
    public Stage mainWindow;
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public void start(Stage mainWindow) throws Exception {
 | 
			
		||||
@@ -50,6 +51,7 @@ public class Main extends Application {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void realStart(Stage mainWindow) throws IOException {
 | 
			
		||||
        this.mainWindow = mainWindow;
 | 
			
		||||
        instance = this;
 | 
			
		||||
        // Show the crash dialog for any exceptions that we don't handle and that hit the main loop.
 | 
			
		||||
        GuiUtils.handleCrashesOnThisThread();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user