File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
modules/web/src/com/haulmont/addon/imap/web/imapmailbox Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 12
12
import com .haulmont .cuba .gui .data .CollectionDatasource ;
13
13
import com .haulmont .cuba .gui .data .Datasource ;
14
14
import com .haulmont .cuba .gui .data .HierarchicalDatasource ;
15
+ import com .haulmont .cuba .gui .data .impl .AbstractDatasource ;
15
16
import com .haulmont .cuba .gui .data .impl .DatasourceImplementation ;
16
17
import com .haulmont .cuba .gui .xml .layout .ComponentsFactory ;
17
18
import org .slf4j .Logger ;
@@ -79,6 +80,9 @@ public class ImapMailBoxEdit extends AbstractEditor<ImapMailBox> {
79
80
@ Inject
80
81
private Datasource <ImapMailBox > mailBoxDs ;
81
82
83
+ @ Inject
84
+ private Datasource <ImapSimpleAuthentication > authenticationDs ;
85
+
82
86
@ Inject
83
87
private HierarchicalDatasource <ImapFolder , UUID > foldersDs ;
84
88
@@ -382,6 +386,8 @@ protected void postInit() {
382
386
checkConnectionBtn .setVisible (false );
383
387
setEnableForButtons (true );
384
388
}
389
+ ((AbstractDatasource ) mailBoxDs ).setModified (false );
390
+ ((AbstractDatasource ) authenticationDs ).setModified (false );
385
391
}
386
392
387
393
@ Override
@@ -552,4 +558,4 @@ private void setEnableForButtons(boolean enable) {
552
558
}
553
559
}
554
560
555
- }
561
+ }
You can’t perform that action at this time.
0 commit comments