author | thufir <thufir> | 2002-10-05 17:49:18 (UTC) |
---|---|---|
committer | thufir <thufir> | 2002-10-05 17:49:18 (UTC) |
commit | 39d6aaa554efe1fbeffa3e3fe966f6d4f446c123 (patch) (unidiff) | |
tree | 19924095d125fbda2d881046491b2adc5ad60398 /noncore/apps/opie-sheet | |
parent | fbe0200df248c5b6677483c4f42a801002bb151e (diff) | |
download | opie-39d6aaa554efe1fbeffa3e3fe966f6d4f446c123.zip opie-39d6aaa554efe1fbeffa3e3fe966f6d4f446c123.tar.gz opie-39d6aaa554efe1fbeffa3e3fe966f6d4f446c123.tar.bz2 |
fixed bug #252
-rw-r--r-- | noncore/apps/opie-sheet/ChangeLog | 4 | ||||
-rw-r--r-- | noncore/apps/opie-sheet/sheet.cpp | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/noncore/apps/opie-sheet/ChangeLog b/noncore/apps/opie-sheet/ChangeLog index d3c5c84..c12a6db 100644 --- a/noncore/apps/opie-sheet/ChangeLog +++ b/noncore/apps/opie-sheet/ChangeLog | |||
@@ -1,6 +1,10 @@ | |||
1 | October 05, 2002 | ||
2 | |||
3 | - Fixed bug #252. (by thufir) | ||
4 | |||
1 | August 31, 2002 | 5 | August 31, 2002 |
2 | 6 | ||
3 | - Fixed and updated opie-sheet.pro file. (by cniehaus) | 7 | - Fixed and updated opie-sheet.pro file. (by cniehaus) |
4 | 8 | ||
5 | August 01, 2002 | 9 | August 01, 2002 |
6 | 10 | ||
diff --git a/noncore/apps/opie-sheet/sheet.cpp b/noncore/apps/opie-sheet/sheet.cpp index 2279191..be4046b 100644 --- a/noncore/apps/opie-sheet/sheet.cpp +++ b/noncore/apps/opie-sheet/sheet.cpp | |||
@@ -28,12 +28,13 @@ Sheet::Sheet(int numRows, int numCols, QWidget *parent) | |||
28 | defaultCellData.background=QBrush(Qt::white, Qt::SolidPattern); | 28 | defaultCellData.background=QBrush(Qt::white, Qt::SolidPattern); |
29 | defaultCellData.alignment=(Qt::AlignmentFlags)(Qt::AlignLeft | Qt::AlignTop); | 29 | defaultCellData.alignment=(Qt::AlignmentFlags)(Qt::AlignLeft | Qt::AlignTop); |
30 | defaultCellData.fontColor=Qt::black; | 30 | defaultCellData.fontColor=Qt::black; |
31 | defaultCellData.font=font(); | 31 | defaultCellData.font=font(); |
32 | defaultCellData.borders=defaultBorders; | 32 | defaultCellData.borders=defaultBorders; |
33 | 33 | ||
34 | clicksLocked=FALSE; | ||
34 | selectionNo=-1; | 35 | selectionNo=-1; |
35 | setSelectionMode(QTable::Single); | 36 | setSelectionMode(QTable::Single); |
36 | 37 | ||
37 | sheetData.setAutoDelete(TRUE); | 38 | sheetData.setAutoDelete(TRUE); |
38 | clipboardData.setAutoDelete(TRUE); | 39 | clipboardData.setAutoDelete(TRUE); |
39 | for (int i=0; i<numCols; ++i) | 40 | for (int i=0; i<numCols; ++i) |