FIX: enable resumed read only Field
Change-Id: Id09e671932458699c020f0a061d8cfc11a6958ab Jira: STUDIO-6641
This commit is contained in:
parent
5b834000f6
commit
708342effd
|
@ -128,6 +128,8 @@ void Field::PostInitialize()
|
|||
if (getWindow()) {
|
||||
if (m_opt.readonly) {
|
||||
this->disable();
|
||||
} else {
|
||||
this->enable();
|
||||
}
|
||||
getWindow()->Bind(wxEVT_KEY_UP, [](wxKeyEvent& evt) {
|
||||
if ((evt.GetModifiers() & wxMOD_CONTROL) != 0) {
|
||||
|
|
Loading…
Reference in New Issue