Re: TreeView - First element
- From: Juan Angel Moreno <jamf gm gmail com>
- To: Adam Chyła <adam chyla gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: TreeView - First element
- Date: Sat, 2 Jan 2010 11:27:38 +0100
Probably your problem is here:
ListTreeModel->iter_swap(iter, iter--)
Because of the post-decrement what you are doing is the same as:
ListTreeModel->iter_swap(iter, iter)
and then iter - 1
// But if iter is the first element from the list the code isn't work properly
You are doing "begin() != iter" so you are excluding the first element
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]