Skip to content
Snippets Groups Projects
Commit 43a20546 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

oops

parent ec0b1e02
No related branches found
No related tags found
No related merge requests found
...@@ -1214,10 +1214,10 @@ int posFileDialog(const char *name) ...@@ -1214,10 +1214,10 @@ int posFileDialog(const char *name)
if (o == dialog->ok) { if (o == dialog->ok) {
int format = 2; int format = 2;
switch(dialog->c[1]->value()){ switch(dialog->c[1]->value()){
case 0: format = 2; case 0: format = 2; break;
case 1: format = 5; case 1: format = 5; break;
case 2: format = 0; case 2: format = 0; break;
case 3: format = 1; case 3: format = 1; break;
} }
bool canAppend = (format == 2) ? true : false; bool canAppend = (format == 2) ? true : false;
_saveViews(name, dialog->c[0]->value(), format, canAppend); _saveViews(name, dialog->c[0]->value(), format, canAppend);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment