[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: [Bug 80625] "default mark type" (breakpoints or bookmarks) not
From: Anders Lund <anders () alweb ! dk>
Date: 2005-02-16 21:27:19
Message-ID: 20050216212719.31433.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=80625
anders alweb dk changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From anders alweb dk 2005-02-16 22:27 -------
CVS commit by alund:
Flush the global view config after setting the default mark type.
For interrested parties in #80625: If you use cvs HEAD, could you please confirm that this fixes the bug?
BUG: 80625
M +7 -0 kateviewhelpers.cpp 1.26
--- kdelibs/kate/part/kateviewhelpers.cpp #1.25:1.26
@ -33,4 +33,5 @
#include "kateviewinternal.h"
+#include <kapplication.h>
#include <kglobalsettings.h>
#include <klocale.h>
@ -912,5 +913,11 @ void KateIconBorder::showMarkMenu( uint
if ( result > 100)
+ {
KateViewConfig::global()->setDefaultMarkType (vec[result-100]);
+ // flush config, otherwise it isn't nessecarily done
+ KConfig *config = kapp->config();
+ config->setGroup("Kate View Defaults");
+ KateViewConfig::global()->writeConfig( config );
+ }
else
{
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic