Ignore:
Timestamp:
09/06/11 21:15:35 (11 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
c0559b6
Parents:
3655d06
Message:

Fixed ticket #26 (empty tabs after some actions).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/treeview.cpp

    r3655d06 r1006c4f  
    7171
    7272                QList<Event> conflicts = Event::conflictEvents(event.id(),Conference::activeConference());
    73                 if(event.isFavourite())
    74                     event.setFavourite(false);
    75                 else
    76                     event.setFavourite(true);
     73                event.setFavourite(!event.isFavourite());
    7774                event.update("favourite");
    7875
Note: See TracChangeset for help on using the changeset viewer.