From 6bb048378e2b73c908f4512d9a925e736bd44fda Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 May 2021 13:26:56 +0300 Subject: CCtrlCombo::GetCurData = suitable helper for combo boxes --- src/core/stdfile/src/fileopts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/stdfile') diff --git a/src/core/stdfile/src/fileopts.cpp b/src/core/stdfile/src/fileopts.cpp index 34185f2312..006273dfd1 100644 --- a/src/core/stdfile/src/fileopts.cpp +++ b/src/core/stdfile/src/fileopts.cpp @@ -169,7 +169,7 @@ public: void onSelChanged_Combo(CCtrlCombo*) { - int iScanner = cmbScanCmdLine.GetItemData(cmbScanCmdLine.GetCurSel()); + int iScanner = cmbScanCmdLine.GetCurData(); if (iScanner >= _countof(virusScanners) || iScanner < 0) return; -- cgit v1.2.3