[Korganizer-devel] [Bug 141136] Category Edit boton in new (or modify) TODO windows don't work

Martin Koller m.koller at surfeu.at
Sat Mar 3 17:18:20 CET 2007


------- 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=141136         
m.koller surfeu at changed:

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



------- Additional Comments From m.koller surfeu at  2007-03-03 17:18 -------
SVN commit 638869 by mkoller:

BUG: 141136

make "Edit Categories" button open the editor again.


 M  +3 -0      koeditorgeneral.cpp  
 M  +3 -0      koeventeditor.cpp  
 M  +3 -0      kotodoeditor.cpp  


--- branches/KDE/3.5/kdepim/korganizer/koeditorgeneral.cpp #638868:638869
 @ -236,6 +236,9  @
   KPIM::CategorySelectDialog *categoryDialog = new KPIM::CategorySelectDialog( KOPrefs::instance(), mCategoriesButton	 );
   KOGlobals::fitDialogToScreen( categoryDialog );
   categoryDialog->setSelected( mCategories );
+
+  connect(categoryDialog, SIGNAL(editCategories()), this, SIGNAL(openCategoryDialog()));
+
   if ( categoryDialog->exec() ) {
     setCategories( categoryDialog->selectedCategories() );
   }
--- branches/KDE/3.5/kdepim/korganizer/koeventeditor.cpp #638868:638869
 @ -91,6 +91,9  @
 
   connect( mGeneral, SIGNAL( focusReceivedSignal() ),
            SIGNAL( focusReceivedSignal() ) );
+
+  connect( mGeneral, SIGNAL( openCategoryDialog() ),
+           SIGNAL( editCategories() ) );
 }
 
 void KOEventEditor::reload()
--- branches/KDE/3.5/kdepim/korganizer/kotodoeditor.cpp #638868:638869
 @ -76,6 +76,9  @
            mRecurrence, SLOT( setDateTimeStr( const QString & ) ) );
   connect( mGeneral, SIGNAL( signalDateTimeChanged( const QDateTime &, const QDateTime & ) ),
            mRecurrence, SLOT( setDateTimes( const QDateTime &, const QDateTime & ) ) );
+
+  connect( mGeneral, SIGNAL( openCategoryDialog() ),
+           SIGNAL( editCategories() ) );
 }
 
 void KOTodoEditor::reload()


More information about the Korganizer-devel mailing list