Merge pull request #368

94e8f3a Add mining screen (moneromooo.monero)
1cd7dd6 StandardDropdown: fix for empty model (moneromooo.monero)
This commit is contained in:
Riccardo Spagni
2017-01-14 10:41:13 -05:00
7 changed files with 235 additions and 31 deletions

View File

@@ -107,7 +107,7 @@ Item {
font.bold: true
font.pixelSize: 12
color: "#FFFFFF"
text: repeater.model.get(column.currentIndex).column1
text: column.currentIndex < repeater.model.rowCount() ? repeater.model.get(column.currentIndex).column1 : ""
}
Text {
@@ -119,7 +119,7 @@ Item {
font.family: "Arial"
font.pixelSize: 12
color: "#FFFFFF"
text: repeater.model.get(column.currentIndex).column2
text: column.currentIndex < repeater.model.rowCount() ? repeater.model.get(column.currentIndex).column2 : ""
property int w: 0
Component.onCompleted: w = implicitWidth