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

List:       kde-commits
Subject:    kdevelop/parts/qeditor
From:       John Birch <jb.nz () writeme ! com>
Date:       2003-03-22 3:24:37
[Download RAW message or body]

CVS commit by jb: 

The breakpoints need a few more "emit marksChanged()"


  M +3 -4      markerwidget.cpp   1.17


--- kdevelop/parts/qeditor/markerwidget.cpp  #1.16:1.17
@@ -186,5 +186,4 @@ void MarkerWidget::contextMenuEvent( QCo
             emit markChanged(mark, KTextEditor::MarkInterfaceExtension::MarkAdded);
         }
-        emit marksChanged();
     } else if ( res == toggleBreakPoint && m_changeBreakpointsAllowed ) {
         mark.type = 0x02;
@@ -197,5 +196,4 @@ void MarkerWidget::contextMenuEvent( QCo
             emit markChanged(mark, KTextEditor::MarkInterfaceExtension::MarkAdded);
         }
-        emit marksChanged();
     } else if ( res == lmbClickChangesBPs ) {
         m_clickChangesBPs = !m.isItemChecked(lmbClickChangesBPs);
@@ -204,6 +202,6 @@ void MarkerWidget::contextMenuEvent( QCo
     }
 
+    emit marksChanged();
     doRepaint();
-    // emit markersChanged();
 }
 
@@ -250,4 +248,5 @@ void MarkerWidget::mousePressEvent( QMou
   }
 
+  emit marksChanged();
   doRepaint();
 }


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

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