Reimplementing save/load file
This commit is contained in:
parent
260288a1b0
commit
9913eb6c8e
37 changed files with 437 additions and 350 deletions
|
|
@ -526,13 +526,13 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char **argv) {
|
|||
|
||||
if(listOfFilesToOpenFromCommand.empty()) {
|
||||
mS.m->new_tab({
|
||||
.conType = World::CONNECTIONTYPE_LOCAL
|
||||
.isClient = false
|
||||
}, true);
|
||||
}
|
||||
else {
|
||||
for(std::filesystem::path& f : listOfFilesToOpenFromCommand) {
|
||||
mS.m->new_tab({
|
||||
.conType = World::CONNECTIONTYPE_LOCAL,
|
||||
.isClient = false,
|
||||
.filePathSource = f
|
||||
}, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue