aboutsummaryrefslogtreecommitdiff
path: root/components/DashboardTable.qml
diff options
context:
space:
mode:
authormarcin <z.krzysztoff7@gmail.com>2014-07-23 13:01:20 +0200
committermarcin <z.krzysztoff7@gmail.com>2014-07-23 13:01:20 +0200
commit74b6483b18f35a7ad0baadc379ee0e0cda0270ba (patch)
tree8cd4e36b940451fefd8fd4844c0b4fa87f9307ab /components/DashboardTable.qml
parentd69870717f9d62e6ec508fad469676d765ac213c (diff)
downloadmonzero-gui-74b6483b18f35a7ad0baadc379ee0e0cda0270ba.tar.gz
monzero-gui-74b6483b18f35a7ad0baadc379ee0e0cda0270ba.tar.xz
monzero-gui-74b6483b18f35a7ad0baadc379ee0e0cda0270ba.zip
tabledropdown fix
Diffstat (limited to 'components/DashboardTable.qml')
-rw-r--r--components/DashboardTable.qml8
1 files changed, 2 insertions, 6 deletions
diff --git a/components/DashboardTable.qml b/components/DashboardTable.qml
index 1e99cef5..a0d644c0 100644
--- a/components/DashboardTable.qml
+++ b/components/DashboardTable.qml
@@ -26,10 +26,8 @@ ListView {
height: 90
width: listView.width
color: index % 2 ? "#F8F8F8" : "#FFFFFF"
- function collapseDropdown() {
- z = 1
- dropdown.expanded = false
- }
+ z: listView.count - index
+ function collapseDropdown() { dropdown.expanded = false }
Row {
id: row1
@@ -211,10 +209,8 @@ ListView {
if(expanded) {
listView.previousItem = delegate
listView.currentIndex = index
- listView.currentItem.z = 2
}
}
- onCollapsed: delegate.z = 0
onOptionClicked: {
if(option === 0)
clipboard.setText(address)