Branch: refs/heads/master
Home:
https://github.com/Teiid-Designer/teiid-designer
Commit: 0d02614fd35c3bf41844bd9c548e0092eac041f7
https://github.com/Teiid-Designer/teiid-designer/commit/0d02614fd35c3bf41...
Author: Andrej Smigala <asmigala(a)redhat.com>
Date: 2015-08-25 (Tue, 25 Aug 2015)
Changed paths:
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/editor/TeiidServerEditor.java
Log Message:
-----------
TEIIDDES-2537 Replace KeyListeners with ModifyListeners in TeiidServerEditor
* the KeyListener would register the Mac shortcut as a key event and set
the flag to dirty. Replaced with ModifyListener.
* also changed the logic in refreshDisplayValues to only update the text
if the value actually changed. This is to prevent an endless loop,
where saving the editor would cause the text to change, which would
again mark the editor as dirty.
* the key listeners were also causing trouble in reddeer tests.