mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
Fixed filename bug (linux); disabled hover buttons on welcome window (linux)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@193 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -58,7 +58,9 @@ void PackageManager::init() {
|
||||
}
|
||||
|
||||
PackagedP PackageManager::openAny(const String& name) {
|
||||
wxFileName fn(data_directory + _("/") + name);
|
||||
wxFileName fn(
|
||||
(wxFileName(name).IsRelative() ? data_directory + _("/") : wxString(wxEmptyString))
|
||||
+ name);
|
||||
fn.Normalize();
|
||||
String filename = fn.GetFullPath();
|
||||
// Is this package already loaded?
|
||||
|
||||
Reference in New Issue
Block a user