r18889 - gnucash/trunk/src/gnc - Enable editing of the "Description" column in the split list view - WITH UNDO!

Christian Stimming cstim at code.gnucash.org
Wed Mar 10 16:40:58 EST 2010


Author: cstim
Date: 2010-03-10 16:40:58 -0500 (Wed, 10 Mar 2010)
New Revision: 18889
Trac: http://svn.gnucash.org/trac/changeset/18889

Added:
   gnucash/trunk/src/gnc/Cmd.cpp
Modified:
   gnucash/trunk/src/gnc/CMakeLists.txt
   gnucash/trunk/src/gnc/Cmd.hpp
   gnucash/trunk/src/gnc/RecentFileMenu.cpp
   gnucash/trunk/src/gnc/Split.hpp
   gnucash/trunk/src/gnc/SplitListModel.cpp
   gnucash/trunk/src/gnc/SplitListModel.hpp
   gnucash/trunk/src/gnc/Transaction.hpp
   gnucash/trunk/src/gnc/mainwindow.cpp
Log:
Enable editing of the "Description" column in the split list view - WITH UNDO!

The Qt Undo framework is almost like magic. We just have to create a
command object instead of directly manipulating the value, and suddenly
the undo/redo just works. This is fun!



More information about the gnucash-patches mailing list