1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-03 08:20:23 +02:00
Files
minetest/src
Kahrl c4d1862344 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.
2015-10-17 23:57:28 +02:00
..
2015-10-16 22:20:24 -04:00
2015-05-12 21:07:46 +02:00
2015-05-12 21:07:46 +02:00
2015-03-27 15:00:48 -04:00
2015-10-17 17:20:58 +01:00
2015-02-17 15:07:05 +01:00
2015-07-27 06:42:56 +02:00
2015-07-27 06:42:56 +02:00
2015-08-23 22:04:06 -04:00
2015-07-21 23:56:41 +02:00
2015-08-23 22:04:06 -04:00
2013-02-24 20:15:24 +01:00
2015-10-06 06:43:04 +01:00
2015-08-02 14:27:04 +02:00
2013-02-24 20:15:24 +01:00
2013-02-24 20:15:24 +01:00
2013-02-24 20:15:24 +01:00
2015-04-20 22:48:14 -04:00
2015-08-25 18:33:52 -04:00
2013-02-24 20:15:24 +01:00
2015-10-16 22:20:24 -04:00
2015-10-14 01:03:54 -04:00
2015-06-27 03:42:01 +02:00
2015-06-27 03:42:01 +02:00
2015-08-25 18:33:52 -04:00
2013-02-24 20:15:24 +01:00
2015-07-09 01:52:28 +02:00
2015-08-25 18:33:52 -04:00
2015-07-08 10:12:44 +02:00
2015-10-14 01:03:54 -04:00
2015-07-23 07:38:13 +02:00
2015-10-14 01:03:54 -04:00
2015-08-25 18:33:52 -04:00
2015-10-15 01:16:10 -04:00
2015-10-15 01:16:10 -04:00
2015-03-25 02:30:17 +10:00
2015-07-23 07:38:13 +02:00
2015-06-16 14:51:26 +02:00
2015-08-25 18:33:52 -04:00
2015-07-23 07:38:13 +02:00
2013-02-24 20:15:24 +01:00
2015-08-25 18:33:52 -04:00
2014-01-13 18:11:08 -05:00
2015-08-25 18:33:52 -04:00
2015-08-19 03:42:00 +02:00
2013-02-24 20:15:24 +01:00
2013-02-24 20:15:24 +01:00
2015-10-16 22:20:24 -04:00
2013-07-20 20:37:59 +02:00
2014-06-29 18:17:56 +02:00
2014-12-31 02:44:31 +10:00
2015-10-16 22:20:24 -04:00
2015-10-14 01:03:54 -04:00
2013-02-24 20:15:24 +01:00
2015-10-04 16:27:50 -04:00
2015-08-25 18:33:52 -04:00
2015-07-27 11:06:46 -04:00
2015-09-16 17:39:49 +02:00
2015-08-25 18:33:52 -04:00
2015-07-21 23:56:41 +02:00
2015-08-23 22:04:06 -04:00
2015-09-19 02:27:00 +01:00
2015-09-17 03:04:50 -04:00
2015-10-14 01:03:54 -04:00
2015-08-23 22:04:06 -04:00
2013-02-24 20:15:24 +01:00
2015-08-25 18:33:52 -04:00
2013-02-24 20:15:24 +01:00
2015-08-12 11:36:22 +02:00
2015-08-25 18:33:52 -04:00
2015-08-23 22:04:06 -04:00
2015-08-25 18:33:52 -04:00
2015-08-23 22:04:06 -04:00
2015-08-23 22:04:06 -04:00
2014-06-29 18:17:56 +02:00
2015-09-06 11:21:26 +02:00
2015-08-23 22:04:06 -04:00
2015-08-23 22:04:06 -04:00
2013-02-24 20:15:24 +01:00
2014-11-19 16:21:59 -05:00
2015-08-25 18:33:52 -04:00
2014-09-20 14:02:54 -04:00
2015-08-23 22:04:06 -04:00
2015-08-25 18:33:52 -04:00
2015-01-23 21:38:34 +10:00
2015-08-25 18:33:52 -04:00
2015-08-23 22:04:06 -04:00
2015-10-16 22:20:24 -04:00
2014-06-15 05:40:33 +02:00
2013-02-24 20:15:24 +01:00
2013-02-24 20:15:24 +01:00
2013-02-24 20:15:24 +01:00
2015-10-16 22:20:24 -04:00
2015-08-25 18:33:52 -04:00
2015-08-25 18:33:52 -04:00
2015-03-27 15:00:48 -04:00
2015-07-21 23:56:41 +02:00