Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open .mid file passed as argument #92

Open
fpesari opened this issue Dec 23, 2021 · 1 comment
Open

Open .mid file passed as argument #92

fpesari opened this issue Dec 23, 2021 · 1 comment

Comments

@fpesari
Copy link

fpesari commented Dec 23, 2021

Hello,

midieditor lacks a very convenient feature: open a .mid file passed as the first argument, like this:

midieditor FILENAME

this means that you cannot even open a .mid file with midiedtiro in a file manager by double-clicking on it.

@eoan-ermine
Copy link

It's already done

midieditor/src/main.cpp

Lines 84 to 90 in 1b42f00

MainWindow* w;
if (argc == 2)
w = new MainWindow(argv[1]);
else
w = new MainWindow();
w->showMaximized();
return a.exec();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants