Also open data folder when opening Resources folder

So now it opens two folders. It could be slightly more annoying to some but usually it's much more useful.

Fixes #1490.
This commit is contained in:
Ghostkeeper 2018-06-20 09:03:18 +02:00
parent ec9fb76974
commit b33bbde2bb
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -878,6 +878,9 @@ UM.MainWindow
path = path.replace(/\\/g,"/"); path = path.replace(/\\/g,"/");
} }
Qt.openUrlExternally(path); Qt.openUrlExternally(path);
if(Qt.platform.os == "linux") {
Qt.openUrlExternally(UM.Resources.getPath(UM.Resources.Resources, ""));
}
} }
} }