diff options
Diffstat (limited to 'src/upload.c')
-rw-r--r-- | src/upload.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/upload.c b/src/upload.c index dd57bfeb..0e3a3edc 100644 --- a/src/upload.c +++ b/src/upload.c | |||
@@ -514,10 +514,14 @@ void on_fsinsertuploadbutton_clicked(gpointer dummy, | |||
514 | "scopeRecursiveButton"); | 514 | "scopeRecursiveButton"); |
515 | if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(recBut))) | 515 | if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(recBut))) |
516 | doRec = YES; | 516 | doRec = YES; |
517 | else | ||
518 | doRec = NO; | ||
517 | idxBut = glade_xml_get_widget(mainXML, | 519 | idxBut = glade_xml_get_widget(mainXML, |
518 | "indexbutton"); | 520 | "indexbutton"); |
519 | if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(idxBut))) | 521 | if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(idxBut))) |
520 | doIndex = YES; | 522 | doIndex = YES; |
523 | else | ||
524 | doIndex = NO; | ||
521 | 525 | ||
522 | meta = ECRS_createMetaData(); | 526 | meta = ECRS_createMetaData(); |
523 | if (gtk_tree_model_get_iter_first(GTK_TREE_MODEL(metamodel), | 527 | if (gtk_tree_model_get_iter_first(GTK_TREE_MODEL(metamodel), |
@@ -622,7 +626,7 @@ void on_fsinsertuploadbutton_clicked(gpointer dummy, | |||
622 | GROW(keywords, | 626 | GROW(keywords, |
623 | ksize, | 627 | ksize, |
624 | 0); | 628 | 0); |
625 | 629 | ||
626 | if (doRec) { | 630 | if (doRec) { |
627 | FSUI_uploadAll(ctx, | 631 | FSUI_uploadAll(ctx, |
628 | filename, | 632 | filename, |