Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasMizera committed Apr 18, 2024
1 parent f6bfb68 commit 9896e9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/qml/form/editors/MMFormRelationReferenceEditor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
***************************************************************************/

import QtQuick
//import QtQuick.Controls

import mm 1.0 as MM

Expand Down Expand Up @@ -57,7 +56,7 @@ MMPrivateComponents.MMBaseSingleLineInput {

textField.readOnly: true

textField.onReleased: { // can be opened when when the field is readonly
textField.onReleased: { // can be opened even when the field is readonly
let featurePair = rModel.attributeFromForeignKey( root._fieldValue, MM.FeaturesModel.FeaturePair )
if ( featurePair === null || !featurePair.valid ) return

Expand Down

0 comments on commit 9896e9c

Please sign in to comment.