~valavanisalex/ubuntu/maverick/scidavis/fix-604811

« back to all changes in this revision

Viewing changes to debian/patches/reorder-updatehorizontalheader.patch

  • Committer: Bazaar Package Importer
  • Author(s): Angel Abad
  • Date: 2010-03-15 13:04:45 UTC
  • Revision ID: james.westby@ubuntu.com-20100315130445-kif9vh1wbyzwohin
Tags: 0.2.3-1ubuntu1
New patch reorder-updatehorizontalheader.patch to fix Segmentation
Faults, taken from upstream. Thanks Alex Valavanis (LP: #532732)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Reorder updateHorizontalHeador for FTBS fix
 
2
Author: knut_f 
 
3
Bug: http://sourceforge.net/tracker/index.php?func=detail&aid=2965581&group_id=199120&atid=968214
 
4
 
 
5
--- a/scidavis/src/future/table/future_Table.cpp
 
6
+++ b/scidavis/src/future/table/future_Table.cpp
 
7
@@ -2309,8 +2309,8 @@
 
8
                d_column_widths.insert(before, Table::defaultColumnWidth());
 
9
        }
 
10
        d_column_count += count;
 
11
-       updateHorizontalHeader(before, before+count-1);
 
12
        emit d_owner->columnsInserted(before, cols.count());
 
13
+       updateHorizontalHeader(before, before+count-1);
 
14
 }
 
15
 
 
16
 void Table::Private::removeColumns(int first, int count)