From 68fe8c1f09a2747ef816c688e1c957e39cf21664 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 7 Jul 2015 13:48:16 +0200 Subject: typo: all dialogs were creating protocol dialog --- facetracknoir/ui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'facetracknoir') diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp index 416a619c..7a412bdb 100644 --- a/facetracknoir/ui.cpp +++ b/facetracknoir/ui.cpp @@ -372,12 +372,12 @@ void MainWindow::showTrackerSettings() } void MainWindow::showProtocolSettings() { - if (mk_dialog(current_tracker(), &pProtocolDialog) && libs.pProtocol) + if (mk_dialog(current_protocol(), &pProtocolDialog) && libs.pProtocol) pProtocolDialog->register_protocol(libs.pProtocol.get()); } void MainWindow::showFilterSettings() { - if (mk_dialog(current_tracker(), &pFilterDialog) && libs.pFilter) + if (mk_dialog(current_filter(), &pFilterDialog) && libs.pFilter) pFilterDialog->register_filter(libs.pFilter.get()); } -- cgit v1.2.3