src/history.cpp

changeset 274
d232fe4d88a6
parent 271
d5ec224c1879
child 275
7b5afec27688
equal deleted inserted replaced
273:0a9141118630 274:d232fe4d88a6
62 62
63 void History::clear () { 63 void History::clear () {
64 64
65 } 65 }
66 66
67 void History::updateActions () { 67 void History::updateActions () const {
68 ACTION (undo)->setEnabled (pos () != -1); 68 ACTION (undo)->setEnabled (pos () != -1);
69 ACTION (redo)->setEnabled (pos () < (long) m_changesets.size () - 1); 69 ACTION (redo)->setEnabled (pos () < (long) m_changesets.size () - 1);
70 } 70 }
71 71
72 void History::open () { 72 void History::open () {

mercurial