mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-12-14 14:53:42 +00:00
intermediate commit
This commit is contained in:
@ -76,7 +76,7 @@ void IpWidget::clear()
|
||||
ui->lineEdit_dnsOptions->clear();
|
||||
ui->listWidget_dnsOptions->clear();
|
||||
|
||||
ui->pushButton_ipAdvanced->setText(QApplication::translate("IpWidget", "Hide advanced"));
|
||||
ui->pushButton_ipAdvanced->setChecked(false);;
|
||||
showAdvanced();
|
||||
}
|
||||
|
||||
@ -360,7 +360,7 @@ void IpWidget::changeDhcpClient(int index)
|
||||
|
||||
void IpWidget::showAdvanced()
|
||||
{
|
||||
if (ui->pushButton_ipAdvanced->text().indexOf(QString("Show")) > -1) {
|
||||
if (ui->pushButton_ipAdvanced->isChecked()) {
|
||||
ui->widget_ipAdvanced->setShown(true);
|
||||
ui->pushButton_ipAdvanced->setText(QApplication::translate("IpWidget", "Hide advanced"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user