[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 73894] When changing a value the 'Save' button is not
From:       George Staikos <staikos () kde ! org>
Date:       2004-03-15 0:21:20
Message-ID: 20040315002120.9464.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=73894      
staikos kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From staikos kde org  2004-03-15 01:21 -------
CVS commit by staikos: 

hack to make editting values work in all cases

CCMAIL: 73894-done bugs kde org


  M +6 -1      kwmapeditor.cpp   1.6
  M +1 -0      kwmapeditor.h   1.4


--- kdeutils/kwallet/kwmapeditor.cpp  #1.5:1.6
 @ -104,4 +104,9  @ void KWMapEditor::addEntry() {
 
 
+void KWMapEditor::emitDirty() {
+        emit dirty();
+}
+
+
 void KWMapEditor::contextMenu(int row, int col, const QPoint& pos) {
         Q_UNUSED(row)
 @ -117,5 +122,5  @ class InlineEditor : public QTextEdit {
         public:
                 InlineEditor(KWMapEditor *p, int row, int col) : QTextEdit(), _p(p), \
row(row), col(col) { setWFlags(WStyle_NoBorder | WDestructiveClose); \
                KWin::setType(winId(), NET::Override); }
-                virtual ~InlineEditor() { _p->setText(row, col, text()); }
+                virtual ~InlineEditor() { _p->setText(row, col, text()); \
_p->emitDirty(); }  
         protected:

--- kdeutils/kwallet/kwmapeditor.h  #1.3:1.4
 @ -39,4 +39,5  @ class KWMapEditor : public QTable {
                 void contextMenu(int row, int col, const QPoint& pos);
                 void addEntry();
+                void emitDirty();
 
         protected:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic