Fix tab FXML paths
This commit is contained in:
		| @@ -204,8 +204,8 @@ public final class ChatScene implements Restorable { | ||||
| 			newContactButton.setDisable(!online); | ||||
| 			if (online) try { | ||||
| 				Tooltip.uninstall(contactSpecificOnlineOperations, onlyIfOnlineTooltip); | ||||
| 				contactSearchTab.setContent(FXMLLoader.load(new File("src/main/resources/fxml/ContactSearchTab.fxml").toURI().toURL())); | ||||
| 				groupCreationTab.setContent(FXMLLoader.load(new File("src/main/resources/fxml/GroupCreationTab.fxml").toURI().toURL())); | ||||
| 				contactSearchTab.setContent(new FXMLLoader().load(getClass().getResourceAsStream("/fxml/ContactSearchTab.fxml"))); | ||||
| 				groupCreationTab.setContent(new FXMLLoader().load(getClass().getResourceAsStream("/fxml/GroupCreationTab.fxml"))); | ||||
| 			} catch (final IOException e2) { | ||||
| 				logger.log(Level.SEVERE, "An error occurred when attempting to load tabs: ", e2); | ||||
| 			} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user