diff options
| author | marcin <z.krzysztoff7@gmail.com> | 2014-07-23 13:01:20 +0200 |
|---|---|---|
| committer | marcin <z.krzysztoff7@gmail.com> | 2014-07-23 13:01:20 +0200 |
| commit | 74b6483b18f35a7ad0baadc379ee0e0cda0270ba (patch) | |
| tree | 8cd4e36b940451fefd8fd4844c0b4fa87f9307ab /components/DashboardTable.qml | |
| parent | d69870717f9d62e6ec508fad469676d765ac213c (diff) | |
| download | monzero-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.qml | 8 |
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) |
