-rw-r--r-- | noncore/settings/networksettings/mainwindow.ui | 2 | ||||
-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/noncore/settings/networksettings/mainwindow.ui b/noncore/settings/networksettings/mainwindow.ui index 8e17cb3..f61a1ae 100644 --- a/noncore/settings/networksettings/mainwindow.ui +++ b/noncore/settings/networksettings/mainwindow.ui | |||
@@ -171,13 +171,13 @@ | |||
171 | <property stdset="1"> | 171 | <property stdset="1"> |
172 | <name>name</name> | 172 | <name>name</name> |
173 | <cstring>informationConnectionButton</cstring> | 173 | <cstring>informationConnectionButton</cstring> |
174 | </property> | 174 | </property> |
175 | <property stdset="1"> | 175 | <property stdset="1"> |
176 | <name>text</name> | 176 | <name>text</name> |
177 | <string>&Information</string> | 177 | <string>&Start/Stop</string> |
178 | </property> | 178 | </property> |
179 | </widget> | 179 | </widget> |
180 | <widget row="0" column="1" > | 180 | <widget row="0" column="1" > |
181 | <class>QPushButton</class> | 181 | <class>QPushButton</class> |
182 | <property stdset="1"> | 182 | <property stdset="1"> |
183 | <name>name</name> | 183 | <name>name</name> |
diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp index 56bbd2c..a61f620 100644 --- a/noncore/settings/networksettings/mainwindowimp.cpp +++ b/noncore/settings/networksettings/mainwindowimp.cpp | |||
@@ -417,16 +417,16 @@ void MainWindowImp::informationClicked(){ | |||
417 | if(!item){ | 417 | if(!item){ |
418 | QMessageBox::information(this, "Sorry","Please select an interface First.", QMessageBox::Ok); | 418 | QMessageBox::information(this, "Sorry","Please select an interface First.", QMessageBox::Ok); |
419 | return; | 419 | return; |
420 | } | 420 | } |
421 | 421 | ||
422 | Interface *i = interfaceItems[item]; | 422 | Interface *i = interfaceItems[item]; |
423 | if(!i->isAttached()){ | 423 | // if(!i->isAttached()){ |
424 | QMessageBox::information(this, "Sorry","No information about\na disconnected interface.", QMessageBox::Ok); | 424 | // QMessageBox::information(this, "Sorry","No information about\na disconnected interface.", QMessageBox::Ok); |
425 | return; | 425 | // return; |
426 | } | 426 | // } |
427 | 427 | ||
428 | if(i->getModuleOwner()){ | 428 | if(i->getModuleOwner()){ |
429 | QWidget *moduleInformation = i->getModuleOwner()->information(i); | 429 | QWidget *moduleInformation = i->getModuleOwner()->information(i); |
430 | if(moduleInformation != NULL){ | 430 | if(moduleInformation != NULL){ |
431 | moduleInformation->showMaximized(); | 431 | moduleInformation->showMaximized(); |
432 | #ifdef DEBUG | 432 | #ifdef DEBUG |