mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-13 08:29:32 +02:00
* CustomServiceDialog.cpp (loadFWObject): fixes #2201 "Some fields
of locked object are editable". Some input fields of the Custom Service object dialog were editable even when object was locked read-only.
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
2011-03-08 vadim <vadim@netcitadel.com>
|
2011-03-08 vadim <vadim@netcitadel.com>
|
||||||
|
|
||||||
|
* CustomServiceDialog.cpp (loadFWObject): fixes #2201 "Some fields
|
||||||
|
of locked object are editable". Some input fields of the Custom
|
||||||
|
Service object dialog were editable even when object was locked
|
||||||
|
read-only.
|
||||||
|
|
||||||
* GroupObjectDialog.cpp (loadFWObject): fixes #2203 "Crash when
|
* GroupObjectDialog.cpp (loadFWObject): fixes #2203 "Crash when
|
||||||
attempting to add an object to a locked group".
|
attempting to add an object to a locked group".
|
||||||
|
|
||||||
|
|||||||
@@ -160,6 +160,17 @@ void CustomServiceDialog::loadFWObject(FWObject *o)
|
|||||||
m_dialog->code->setEnabled(!o->isReadOnly());
|
m_dialog->code->setEnabled(!o->isReadOnly());
|
||||||
setDisabledPalette(m_dialog->code);
|
setDisabledPalette(m_dialog->code);
|
||||||
|
|
||||||
|
m_dialog->platform->setEnabled(!o->isReadOnly());
|
||||||
|
setDisabledPalette(m_dialog->platform);
|
||||||
|
|
||||||
|
m_dialog->protocol->setEnabled(!o->isReadOnly());
|
||||||
|
setDisabledPalette(m_dialog->protocol);
|
||||||
|
|
||||||
|
m_dialog->ipv4->setEnabled(!o->isReadOnly());
|
||||||
|
setDisabledPalette(m_dialog->ipv4);
|
||||||
|
|
||||||
|
m_dialog->ipv6->setEnabled(!o->isReadOnly());
|
||||||
|
setDisabledPalette(m_dialog->ipv6);
|
||||||
|
|
||||||
init=false;
|
init=false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user