Commit c8007375 authored by Karel Slaný's avatar Karel Slaný

Renamed a variable with an ambiguous name.

parent f05b265f
......@@ -36,7 +36,8 @@ ListView {
property bool canSelectBoxes: false // enables selecting of entries
property bool canDeselectBoxes: false // enables deselecting of entries
property bool canRemoveBoxes: false // enables removing of entries
property bool isRecipientOrContact: false // true enables and shows recipient/contact grid
property bool localContactFormat: false // false - format of contacts obtained from ISDS server
// true - contacts gathered from local storage
/* This signal should be captured to implement model interaction. */
signal boxDetail(string boxId)
......@@ -55,7 +56,7 @@ ListView {
anchors.margins: defaultMargin
GridLayout {
id: gridSearchDatabox
visible: !isRecipientOrContact
visible: !localContactFormat
columns: 2
rows: 3
rowSpacing: defaultMargin * 0.6
......@@ -99,7 +100,7 @@ ListView {
} // GridLayout
GridLayout {
id: gridRecipientOrContaxtDatabox
visible: isRecipientOrContact
visible: localContactFormat
columns: 1
rows: 3
rowSpacing: defaultMargin * 0.6
......
......@@ -127,7 +127,7 @@ Item {
canDetailBoxes: recipBoxModel == null
canSelectBoxes: recipBoxModel != null
canDeselectBoxes: recipBoxModel != null
isRecipientOrContact: true
localContactFormat: true
onBoxSelect: {
var boxEntry = foundBoxModel.entry(boxId)
statusBar.visible = false
......
......@@ -321,7 +321,7 @@ Item {
interactive: true
model: recipBoxModel
canRemoveBoxes: true
isRecipientOrContact: true
localContactFormat: true
onCountChanged: {
mainPanel.areReguiredFieldsFilled()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment