Diffstat (limited to 'inputmethods/handwriting/qimpenchar.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/handwriting/qimpenchar.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/inputmethods/handwriting/qimpenchar.cpp b/inputmethods/handwriting/qimpenchar.cpp index 0c37e5c..929f370 100644 --- a/inputmethods/handwriting/qimpenchar.cpp +++ b/inputmethods/handwriting/qimpenchar.cpp | |||
@@ -346,7 +346,7 @@ bool QIMPenCharSet::load( const QString &fn, Domain d ) | |||
346 | if ( file.status() == IO_Ok ) | 346 | if ( file.status() == IO_Ok ) |
347 | ok = TRUE; | 347 | ok = TRUE; |
348 | } | 348 | } |
349 | 349 | setHidden ( false ); | |
350 | return ok; | 350 | return ok; |
351 | } | 351 | } |
352 | 352 | ||
@@ -358,6 +358,9 @@ bool QIMPenCharSet::save( Domain d ) | |||
358 | if ( filename( d ).isEmpty() ) | 358 | if ( filename( d ).isEmpty() ) |
359 | return FALSE; | 359 | return FALSE; |
360 | 360 | ||
361 | if ( hidden() ) | ||
362 | return TRUE; | ||
363 | |||
361 | bool ok = FALSE; | 364 | bool ok = FALSE; |
362 | 365 | ||
363 | QString fn = filename( d ); | 366 | QString fn = filename( d ); |