mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Fixup OSX system session file loading request
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -34,7 +34,7 @@
|
||||
#if defined(APPLE)
|
||||
extern "C"{
|
||||
void forward_load_message(const char * filename){
|
||||
Settings::application.argument_file = std::string(filename);
|
||||
Mixer::manager().load(filename);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -55,7 +55,7 @@ int main(int argc, char *argv[])
|
||||
Settings::Save();
|
||||
else {
|
||||
// try to open the file
|
||||
Settings::application.argument_file = argument;
|
||||
Mixer::manager().load(argument);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user