From 93b8967abb2fd8b9724ea9062c3751416206ad3f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 21 Jan 2016 12:56:35 +0100 Subject: Fix copy paste messup --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3-55-g7522