Enable graphic editor selection in Preferences panel for UNIX-like (eg Linux) platforms not confined in a snap.
This commit is contained in:
parent
92a1eb067d
commit
09b19b4ec6
@ -145,7 +145,7 @@ public class GraphicsPreferencesPanel extends PreferencesPanel {
|
|||||||
* we will rely on using the xdg-open command which allows the user to pick
|
* we will rely on using the xdg-open command which allows the user to pick
|
||||||
* their preferred application.
|
* their preferred application.
|
||||||
*/
|
*/
|
||||||
if (SystemInfo.getPlatform() != Platform.UNIX && !SystemInfo.isConfined()) {
|
if (SystemInfo.getPlatform() != Platform.UNIX || !SystemInfo.isConfined()) {
|
||||||
this.add(editorPrefPanel, "growx, span");
|
this.add(editorPrefPanel, "growx, span");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user