|
|
|
|
@ -307,7 +307,8 @@ bool MainWindow::focus_ntp(GdkEventFocus* event){
|
|
|
|
|
|
|
|
|
|
void MainWindow::event_entrycbDhcp(){
|
|
|
|
|
Glib::ustring str_dhcp = cbDhcp->get_active_text();
|
|
|
|
|
int activ_index = cbDhcp->get_id_column();
|
|
|
|
|
int activ_index = cbDhcp->get_active_row_number();
|
|
|
|
|
cout << activ_index << endl;
|
|
|
|
|
if (str_dhcp.length()!=0){
|
|
|
|
|
if (activ_index==0){
|
|
|
|
|
string cmd = "/usr/bin/ubconfig set network NTPSERVERS=default";
|
|
|
|
|
|