Enable graphic editor selection in Preferences panel for UNIX-like (eg Linux) platforms not confined in a snap.

This commit is contained in:
JoePfeiffer 2023-01-24 09:23:18 -07:00
parent 92a1eb067d
commit 09b19b4ec6

View File

@ -145,7 +145,7 @@ public class GraphicsPreferencesPanel extends PreferencesPanel {
* we will rely on using the xdg-open command which allows the user to pick
* their preferred application.
*/
if (SystemInfo.getPlatform() != Platform.UNIX && !SystemInfo.isConfined()) {
if (SystemInfo.getPlatform() != Platform.UNIX || !SystemInfo.isConfined()) {
this.add(editorPrefPanel, "growx, span");
}