2
0
forked from Ivasoft/DSView

auto load file data from application startup param

This commit is contained in:
dreamsourcelabTAI
2021-12-06 16:38:13 +08:00
parent 65f5946fe3
commit 26f4e65b7b
4 changed files with 19 additions and 11 deletions

View File

@@ -147,6 +147,7 @@ int main(int argc, char *argv[])
return 1;
} else if (argcFinal - optind == 1){
open_file = argvFinal[argcFinal - 1];
control->_open_file_name = open_file;
}