diff options
Diffstat (limited to 'korganizer/timelabels.cpp')
-rw-r--r-- | korganizer/timelabels.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/korganizer/timelabels.cpp b/korganizer/timelabels.cpp index 792c270da..ab5967055 100644 --- a/korganizer/timelabels.cpp +++ b/korganizer/timelabels.cpp @@ -176,6 +176,11 @@ int TimeLabels::minimumWidth() const /** updates widget's internal state */ void TimeLabels::updateConfig() { + // Avoid crash on exit + if ( !mAgenda ) { + return; + } + setFont(KOPrefs::instance()->mTimeBarFont); QString test = "20"; |