|
|
|
|
@ -909,13 +909,13 @@ array<string, 2> MainWindow::split_region_zone(string &read_reg_zon_cfg) {
|
|
|
|
|
|
|
|
|
|
void MainWindow::enter_zone(string &cmd) {
|
|
|
|
|
int activ_index_reg = cbRegion->get_active_row_number();
|
|
|
|
|
string reg_text=array_region[activ_index_reg];
|
|
|
|
|
string reg_text = array_region[activ_index_reg];
|
|
|
|
|
int activ_index = cbZone->get_active_row_number();
|
|
|
|
|
string zone_text = "";
|
|
|
|
|
if(!(reg_text.empty())) {
|
|
|
|
|
int index= 0;
|
|
|
|
|
for (const auto &zone: time_reg_map.at(reg_text)) {
|
|
|
|
|
if (index==activ_index) {
|
|
|
|
|
if (index == activ_index) {
|
|
|
|
|
zone_text=zone;
|
|
|
|
|
}
|
|
|
|
|
index+= 1;
|
|
|
|
|
|