aboutsummaryrefslogtreecommitdiff
path: root/src/util/sha1.cpp
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2015-10-17 23:34:45 +0200
committerKahrl <kahrl@gmx.net>2015-10-17 23:57:28 +0200
commitc4d18623440b58b9f90629c798687608bc32c6da (patch)
treed864e0ebbbf752a9909a69dda4685488f5e16e6a /src/util/sha1.cpp
parent6b408248a16b0c61007247d8bce23a349f86b45c (diff)
downloadminetest-c4d18623440b58b9f90629c798687608bc32c6da.tar.gz
minetest-c4d18623440b58b9f90629c798687608bc32c6da.tar.bz2
minetest-c4d18623440b58b9f90629c798687608bc32c6da.zip
Fix GUITable selection issues with trees
- setOpenedTrees(): this internal function was calling setSelected() to update m_selected. Since setSelected() calls autoScroll(), this caused the scrollbar to scroll back to the selected row in some cases when that shouldn't be done. For example, clicking the "+" to open a tree caused autoscroll. Fix this by making setOpenedTrees() modify m_selected directly. - setDynamicData(): set scrollbar position after calling setSelected(), not before. This avoids setSelected()'s autoscroll messing up the scrollbar position again. - setSelected(): If an invisible row is selected, open all parents of the selected row in order to make the selected row visible. This fixes the issue where all the trees are closed again whenever you return from the setting edit dialog to the settings tab.
Diffstat (limited to 'src/util/sha1.cpp')
0 files changed, 0 insertions, 0 deletions
a> 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="512"
   height="512"
   viewBox="0 0 135.46666 135.46667"
   version="1.1"
   id="svg8"
   inkscape:version="0.92.1 r15371"
   sodipodi:docname="drop_btn.svg"
   inkscape:export-filename="/home/stu/Desktop/icons/png/drop_btn.png"
   inkscape:export-xdpi="24.000002"
   inkscape:export-ydpi="24.000002">
  <defs
     id="defs2">
    <filter
       style="color-interpolation-filters:sRGB;"
       inkscape:label="Colorize"
       id="filter4628">
      <feComposite
         in2="SourceGraphic"
         operator="arithmetic"
         k1="0"
         k2="1"