The following commit has been merged in the master branch:
commit 448709b1a1a823ceef9a9bc6fff09a3f14a13565
Author: andrei zavada <[email protected]>
Date: Mon Jan 28 18:54:58 2013 +0000
redraw SF correctly on leaving patterns dialog wrt annotations
diff --git a/src/ui/sf/d/patterns_cb.cc b/src/ui/sf/d/patterns_cb.cc
index eefbf36..000d651 100644
--- a/src/ui/sf/d/patterns_cb.cc
+++ b/src/ui/sf/d/patterns_cb.cc
@@ -392,15 +392,14 @@ wSFFD_hide_cb( GtkWidget *widget, gpointer userdata)
auto& FD = *(SScoringFacility::SPatternsDialog*)userdata;
auto& SF = FD._p;
- if ( not FD.occurrences.empty() ) { // closing while dialog is in
matching state
+ if ( not FD.occurrences.empty() ) // closing while dialog is in
matching state
if ( GTK_RESPONSE_YES !=
aghui::pop_question( SF.wSF, "Keep annotations?") )
FD.restore_annotations();
- else
+ else {
SF._p.populate_mGlobalAnnotations();
- }
-
- FD.occurrences.clear();
+ SF.queue_redraw_all();
+ }
gtk_toggle_button_set_active(
(GtkToggleButton*)FD.field_channel->_p.bSFShowFindDialog, FALSE);
}
--
Sleep experiment manager
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit