diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index cbbe08f..2c1a17b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -221,9 +221,9 @@ int main(int argc, char *argv[]) { if (cmdOptions.contains("template-mode")) { QString mode = cmdOptions.value("template-mode"); if (mode == "IGNORE") { - g_forLocationHandling = LOCATION_IGNORE; + g_templateHandling = LOCATION_IGNORE; } else if (mode == "BUMP") { - g_forLocationHandling = LOCATION_BUMP; + g_templateHandling = LOCATION_BUMP; } else { qDebug() << "Invalid template mode: " << mode; QMessageBox::critical(NULL, "Error", "Invalid template mode: " + mode); |