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

List:       kde-commits
Subject:    koffice/kivio/kiviopart
From:       Peter Simonsson <psn () linux ! se>
Date:       2004-01-05 11:45:23
Message-ID: 20040105114523.2F69C93EA () office ! kde ! org
[Download RAW message or body]

CVS commit by psn: 

Oops! Forgot send the unit and the start value to the custom dialog


  M +1 -0      kivio_view.cpp   1.126
  M +2 -0      kolinewidthaction.cpp   1.2


--- koffice/kivio/kiviopart/kivio_view.cpp  #1.125:1.126
@@ -465,4 +465,5 @@ void KivioView::setupActions()
   m_lineWidthAction = new KoLineWidthAction(i18n("Line Width"), "linewidth", this, \
SLOT(setLineWidth(double)),  actionCollection(), "setLineWidth");
+  m_lineWidthAction->setUnit(m_pDoc->units());
   connect(m_pDoc, SIGNAL(unitsChanged(KoUnit::Unit)), m_lineWidthAction, \
SLOT(setUnit(KoUnit::Unit)));  

--- koffice/kivio/kiviopart/kolinewidthaction.cpp  #1.1:1.2
@@ -193,4 +193,6 @@ void KoLineWidthAction::execute(int inde
   } if(index == 11) { // Custom width dialog...
     KoLineWidthChooser dlg;
+    dlg.setUnit(m_unit);
+    dlg.setWidth(m_currentWidth);
     
     if(dlg.exec()) {


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

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