Fixed with this commit in svn trunk, but I don't want to risk this change in the 1.8 branch:
2008-12-04 Murray Cumming <email address hidden>
* glom/libglom/data_structure/foundset.[h|cc]: Added has_no_criteria()
to check if it has a sort order or where clause.
* glom/libglom/document/document_glom.[h|cc]: Added
set_criteria_current(), like set_layout_current(), so we can
temporarily remember the sort (and find) for a table while navigating.
DocumentTableInfo: Hand-wrote copy constructor and operator=() rather
than depend on generated ones.
* glom/utility_widgets/db_adddel/db_adddel.[h|cc]:
Added signal_sort_clause_changed, emitted when the user clicks on
the column header, which already caused a refresh with that sort.
* glom/mode_data/box_data_list.[h|cc]: Respond to a sort change in the
DbAddDel widget, saving it temporarily in the document.
* glom/mode_data/frame_glom.cc: show_table(): Use the remembered
criteria, from the document, where there is one.
Fixed with this commit in svn trunk, but I don't want to risk this change in the 1.8 branch:
2008-12-04 Murray Cumming <email address hidden>
* glom/libglom/ data_structure/ foundset. [h|cc]: Added has_no_criteria() document/ document_ glom.[h| cc]: Added current( ), like set_layout_ current( ), so we can widgets/ db_adddel/ db_adddel. [h|cc]: sort_clause_ changed, emitted when the user clicks on data/box_ data_list. [h|cc]: Respond to a sort change in the data/frame_ glom.cc: show_table(): Use the remembered
to check if it has a sort order or where clause.
* glom/libglom/
set_criteria_
temporarily remember the sort (and find) for a table while navigating.
DocumentTableInfo: Hand-wrote copy constructor and operator=() rather
than depend on generated ones.
* glom/utility_
Added signal_
the column header, which already caused a refresh with that sort.
* glom/mode_
DbAddDel widget, saving it temporarily in the document.
* glom/mode_
criteria, from the document, where there is one.
Ubuntu bug https:/ /bugs.launchpad .net/ubuntu/ +source/ glom/+bug/ 303422
(elmergato)